python27_sys/pyarena.rs
use libc::{c_int, c_void, size_t};
use crate::object::PyObject;
#[allow(missing_copy_implementations)]
#[repr(C)]
pub struct PyArena {
_private: [u8; 0],
}
#[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;
}