python27-sys 0.0.3

FFI Declarations for Python 2.7
1
2
3
4
5
6
7
8
9
10
use libc::{c_void, size_t};

#[link(name = "python2.7")]
extern "C" {
    pub fn PyMem_Malloc(n: size_t) -> *mut c_void;
    pub fn PyMem_Realloc(p: *mut c_void, n: size_t)
     -> *mut c_void;
    pub fn PyMem_Free(p: *mut c_void);
}