updated for version 7.3.584

Problem:    PyCObject is not always defined.
Solution:   Use PyObject instead.
This commit is contained in:
Bram Moolenaar
2012-06-30 13:34:34 +02:00
parent c268184f70
commit 1d3dbdfb72
3 changed files with 10 additions and 15 deletions
+2 -2
View File
@@ -327,8 +327,8 @@ static void (*dll_PyObject_Free)(void*);
static PyObject* (*dll_PyCapsule_New)(void *, char *, PyCapsule_Destructor);
static void* (*dll_PyCapsule_GetPointer)(PyObject *, char *);
# else
static PyCObject* (*dll_PyCObject_FromVoidPtr)(void *cobj, void (*destr)(void *));
static void* (*dll_PyCObject_AsVoidPtr)(PyCObject *);
static PyObject* (*dll_PyCObject_FromVoidPtr)(void *cobj, void (*destr)(void *));
static void* (*dll_PyCObject_AsVoidPtr)(PyObject *);
# endif
static HINSTANCE hinstPython = 0; /* Instance of python.dll */