[go: up one dir, main page]

pyo3 0.3.2

Bindings to Python interpreter
1
2
3
4
5
6
7
use libc::{c_void, size_t};

#[cfg_attr(windows, link(name="pythonXY"))] 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);
}