pyo3 0.3.2

Bindings to Python interpreter
1
2
3
4
5
6
7
8
9
10
11
12
13
use libc::size_t;
use std::os::raw::{c_void, c_int};
use ffi2::object::PyObject;

#[allow(missing_copy_implementations)]
pub enum PyArena { }

#[cfg_attr(windows, link(name="pythonXY"))] extern "C" {
    pub fn PyArena_New() -> *mut PyArena;
    pub fn PyArena_Free(arg1: *mut PyArena);
    pub fn PyArena_Malloc(arg1: *mut PyArena, size: size_t) -> *mut c_void;
    pub fn PyArena_AddPyObject(arg1: *mut PyArena, arg2: *mut PyObject) -> c_int;
}