# HG changeset patch
# User ZyX <[email protected]>
# Date 1369579264 -14400
# Node ID a4ad9503285f0829d69784faf0c1b8fb06dc2c0f
# Parent  31b317a2cb89e8ad98bfa56ecbe2a668a7fd3a9a
Fix compilation in python-2.3

diff -r 31b317a2cb89 -r a4ad9503285f src/if_python.c
--- a/src/if_python.c   Sun May 26 16:47:40 2013 +0400
+++ b/src/if_python.c   Sun May 26 18:41:04 2013 +0400
@@ -362,7 +362,7 @@
 static int(*dll_PySys_SetArgv)(int, char **);
 static PyTypeObject* dll_PyType_Type;
 static int (*dll_PyType_Ready)(PyTypeObject *type);
-static PyObject* (*dll_PyType_GenericAlloc)(PyTypeObject *type, Py_ssize_t 
nitems);
+static PyObject* (*dll_PyType_GenericAlloc)(PyTypeObject *type, PyInt nitems);
 static PyObject*(*dll_Py_BuildValue)(char *, ...);
 static PyObject*(*dll_Py_FindMethod)(struct PyMethodDef[], PyObject *, char *);
 static PyObject*(*dll_Py_InitModule4)(char *, struct PyMethodDef *, char *, 
PyObject *, int);

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


*** /tmp/extdiff.7KxFl9/vim.31b317a2cb89/src/if_python.c	2013-05-26 18:42:08.443239940 +0400
--- vim.a4ad9503285f/src/if_python.c	2013-05-26 18:42:08.447239903 +0400
***************
*** 362,368 ****
  static int(*dll_PySys_SetArgv)(int, char **);
  static PyTypeObject* dll_PyType_Type;
  static int (*dll_PyType_Ready)(PyTypeObject *type);
! static PyObject* (*dll_PyType_GenericAlloc)(PyTypeObject *type, Py_ssize_t nitems);
  static PyObject*(*dll_Py_BuildValue)(char *, ...);
  static PyObject*(*dll_Py_FindMethod)(struct PyMethodDef[], PyObject *, char *);
  static PyObject*(*dll_Py_InitModule4)(char *, struct PyMethodDef *, char *, PyObject *, int);
--- 362,368 ----
  static int(*dll_PySys_SetArgv)(int, char **);
  static PyTypeObject* dll_PyType_Type;
  static int (*dll_PyType_Ready)(PyTypeObject *type);
! static PyObject* (*dll_PyType_GenericAlloc)(PyTypeObject *type, PyInt nitems);
  static PyObject*(*dll_Py_BuildValue)(char *, ...);
  static PyObject*(*dll_Py_FindMethod)(struct PyMethodDef[], PyObject *, char *);
  static PyObject*(*dll_Py_InitModule4)(char *, struct PyMethodDef *, char *, PyObject *, int);

Raspunde prin e-mail lui