|
Karsten Hopp |
080bab |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
080bab |
Subject: Patch 7.3.145
|
|
Karsten Hopp |
080bab |
Fcc: outbox
|
|
Karsten Hopp |
080bab |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
080bab |
Mime-Version: 1.0
|
|
Karsten Hopp |
080bab |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
080bab |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
080bab |
------------
|
|
Karsten Hopp |
080bab |
|
|
Karsten Hopp |
080bab |
Patch 7.3.145 (after 7.3.144)
|
|
Karsten Hopp |
080bab |
Problem: Can't build with Python dynamically loading.
|
|
Karsten Hopp |
080bab |
Solution: Add dll_PyType_Ready.
|
|
Karsten Hopp |
080bab |
Files: src/if_python.c
|
|
Karsten Hopp |
080bab |
|
|
Karsten Hopp |
080bab |
|
|
Karsten Hopp |
080bab |
*** ../vim-7.3.144/src/if_python.c 2011-03-26 13:56:41.000000000 +0100
|
|
Karsten Hopp |
080bab |
--- src/if_python.c 2011-03-26 18:10:00.000000000 +0100
|
|
Karsten Hopp |
080bab |
***************
|
|
Karsten Hopp |
080bab |
*** 165,170 ****
|
|
Karsten Hopp |
080bab |
--- 165,171 ----
|
|
Karsten Hopp |
080bab |
# define PySys_SetObject dll_PySys_SetObject
|
|
Karsten Hopp |
080bab |
# define PySys_SetArgv dll_PySys_SetArgv
|
|
Karsten Hopp |
080bab |
# define PyType_Type (*dll_PyType_Type)
|
|
Karsten Hopp |
080bab |
+ # define PyType_Ready (*dll_PyType_Ready)
|
|
Karsten Hopp |
080bab |
# define Py_BuildValue dll_Py_BuildValue
|
|
Karsten Hopp |
080bab |
# define Py_FindMethod dll_Py_FindMethod
|
|
Karsten Hopp |
080bab |
# define Py_InitModule4 dll_Py_InitModule4
|
|
Karsten Hopp |
080bab |
***************
|
|
Karsten Hopp |
080bab |
*** 224,229 ****
|
|
Karsten Hopp |
080bab |
--- 225,231 ----
|
|
Karsten Hopp |
080bab |
static int(*dll_PySys_SetObject)(char *, PyObject *);
|
|
Karsten Hopp |
080bab |
static int(*dll_PySys_SetArgv)(int, char **);
|
|
Karsten Hopp |
080bab |
static PyTypeObject* dll_PyType_Type;
|
|
Karsten Hopp |
080bab |
+ static int (*dll_PyType_Ready)(PyTypeObject *type);
|
|
Karsten Hopp |
080bab |
static PyObject*(*dll_Py_BuildValue)(char *, ...);
|
|
Karsten Hopp |
080bab |
static PyObject*(*dll_Py_FindMethod)(struct PyMethodDef[], PyObject *, char *);
|
|
Karsten Hopp |
080bab |
static PyObject*(*dll_Py_InitModule4)(char *, struct PyMethodDef *, char *, PyObject *, int);
|
|
Karsten Hopp |
080bab |
***************
|
|
Karsten Hopp |
080bab |
*** 305,310 ****
|
|
Karsten Hopp |
080bab |
--- 307,313 ----
|
|
Karsten Hopp |
080bab |
{"PySys_SetObject", (PYTHON_PROC*)&dll_PySys_SetObject},
|
|
Karsten Hopp |
080bab |
{"PySys_SetArgv", (PYTHON_PROC*)&dll_PySys_SetArgv},
|
|
Karsten Hopp |
080bab |
{"PyType_Type", (PYTHON_PROC*)&dll_PyType_Type},
|
|
Karsten Hopp |
080bab |
+ {"PyType_Ready", (PYTHON_PROC*)&dll_PyType_Ready},
|
|
Karsten Hopp |
080bab |
{"Py_BuildValue", (PYTHON_PROC*)&dll_Py_BuildValue},
|
|
Karsten Hopp |
080bab |
{"Py_FindMethod", (PYTHON_PROC*)&dll_Py_FindMethod},
|
|
Karsten Hopp |
080bab |
# if (PY_VERSION_HEX >= 0x02050000) && SIZEOF_SIZE_T != SIZEOF_INT
|
|
Karsten Hopp |
080bab |
*** ../vim-7.3.144/src/version.c 2011-03-26 13:56:41.000000000 +0100
|
|
Karsten Hopp |
080bab |
--- src/version.c 2011-03-26 18:11:19.000000000 +0100
|
|
Karsten Hopp |
080bab |
***************
|
|
Karsten Hopp |
080bab |
*** 716,717 ****
|
|
Karsten Hopp |
080bab |
--- 716,719 ----
|
|
Karsten Hopp |
080bab |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
080bab |
+ /**/
|
|
Karsten Hopp |
080bab |
+ 145,
|
|
Karsten Hopp |
080bab |
/**/
|
|
Karsten Hopp |
080bab |
|
|
Karsten Hopp |
080bab |
--
|
|
Karsten Hopp |
080bab |
This message contains 78% recycled characters.
|
|
Karsten Hopp |
080bab |
|
|
Karsten Hopp |
080bab |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
080bab |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
080bab |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
080bab |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|