diff PC/os2vacpp/python.def @ 59998:d11fbc796499 legacy-trunk

Backported PyCapsule from 3.1, and converted most uses of CObject to PyCapsule.
author Larry Hastings <larry@hastings.org>
date Thu, 25 Mar 2010 00:54:54 +0000
parents df5719c298db
children
line wrap: on
line diff
--- a/PC/os2vacpp/python.def	Thu Mar 25 00:51:58 2010 +0000
+++ b/PC/os2vacpp/python.def	Thu Mar 25 00:54:54 2010 +0000
@@ -6,6 +6,7 @@
 EXPORTS
                ; Data
                PyCFunction_Type
+               PyCapsule_Type
                PyCObject_Type
                PyClass_Type
                PyCode_Type
@@ -75,6 +76,7 @@
                _Py_TrueStruct
                _Py_ZeroStruct
                _Py_abstract_hack
+               _Py_capsule_hack
                _Py_cobject_hack
                _Py_re_syntax
                _Py_re_syntax_table
@@ -89,6 +91,17 @@
                PyCFunction_GetFunction
                PyCFunction_GetSelf
                PyCFunction_New
+               PyCapsule_GetContext
+               PyCapsule_GetDestructor
+               PyCapsule_GetName
+               PyCapsule_GetPointer
+               PyCapsule_Import
+               PyCapsule_IsValid
+               PyCapsule_New
+               PyCapsule_SetContext
+               PyCapsule_SetDestructor
+               PyCapsule_SetName
+               PyCapsule_SetPointer
                PyCObject_AsVoidPtr
                PyCObject_FromVoidPtrAndDesc
                PyCObject_FromVoidPtr