0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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 e721122b79
commit 221d6872c4
3 changed files with 10 additions and 15 deletions

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 */