1 /**
2   Mirrors _pyarena.h
3   */
4 module deimos.python.pyarena;
5 
6 import deimos.python.object;
7 // Python-header-file: Include/pyarena.h:
8 /// _
9 struct PyArena;
10 
11 version(Python_2_5_Or_Later){
12     /// Availability: >= 2.5
13     PyArena* PyArena_New();
14     /// Availability: >= 2.5
15     void PyArena_Free(PyArena*);
16 
17     /// Availability: >= 2.5
18     void* PyArena_Malloc(PyArena*, size_t);
19     /// Availability: >= 2.5
20     int PyArena_AddPyObject(PyArena*, PyObject*);
21 }
22