|
@@ -1,7 +1,17 @@
|
|
|
#define SYM(SYM_NAME) extern "C" void SYM_NAME();
|
|
|
-SYM(PyObject_GetBuffer)
|
|
|
SYM(PyBuffer_Release)
|
|
|
+SYM(PyCapsule_GetContext)
|
|
|
+SYM(PyCapsule_GetDestructor)
|
|
|
+SYM(PyCapsule_GetName)
|
|
|
+SYM(PyCapsule_GetPointer)
|
|
|
+SYM(PyCapsule_IsValid)
|
|
|
+SYM(PyCapsule_New)
|
|
|
+SYM(PyCapsule_SetContext)
|
|
|
+SYM(PyCapsule_SetDestructor)
|
|
|
+SYM(PyCapsule_SetName)
|
|
|
+SYM(PyCapsule_SetPointer)
|
|
|
SYM(PyCell_New)
|
|
|
+SYM(PyObject_GetBuffer)
|
|
|
SYM(Py_DecRef)
|
|
|
SYM(Py_IncRef)
|
|
|
#undef SYM
|
|
@@ -9,9 +19,19 @@ SYM(Py_IncRef)
|
|
|
#include <library/python/symbols/registry/syms.h>
|
|
|
|
|
|
BEGIN_SYMS("python")
|
|
|
-SYM(PyObject_GetBuffer)
|
|
|
SYM(PyBuffer_Release)
|
|
|
+SYM(PyCapsule_GetContext)
|
|
|
+SYM(PyCapsule_GetDestructor)
|
|
|
+SYM(PyCapsule_GetName)
|
|
|
+SYM(PyCapsule_GetPointer)
|
|
|
+SYM(PyCapsule_IsValid)
|
|
|
+SYM(PyCapsule_New)
|
|
|
+SYM(PyCapsule_SetContext)
|
|
|
+SYM(PyCapsule_SetDestructor)
|
|
|
+SYM(PyCapsule_SetName)
|
|
|
+SYM(PyCapsule_SetPointer)
|
|
|
SYM(PyCell_New)
|
|
|
+SYM(PyObject_GetBuffer)
|
|
|
SYM(Py_DecRef)
|
|
|
SYM(Py_IncRef)
|
|
|
END_SYMS()
|