]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.145
- new
[packages/vim.git] / 7.3.145
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.145
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.145 (after 7.3.144)
11 Problem:    Can't build with Python dynamically loading.
12 Solution:   Add dll_PyType_Ready.
13 Files:      src/if_python.c
14
15
16 *** ../vim-7.3.144/src/if_python.c      2011-03-26 13:56:41.000000000 +0100
17 --- src/if_python.c     2011-03-26 18:10:00.000000000 +0100
18 ***************
19 *** 165,170 ****
20 --- 165,171 ----
21   # define PySys_SetObject dll_PySys_SetObject
22   # define PySys_SetArgv dll_PySys_SetArgv
23   # define PyType_Type (*dll_PyType_Type)
24 + # define PyType_Ready (*dll_PyType_Ready)
25   # define Py_BuildValue dll_Py_BuildValue
26   # define Py_FindMethod dll_Py_FindMethod
27   # define Py_InitModule4 dll_Py_InitModule4
28 ***************
29 *** 224,229 ****
30 --- 225,231 ----
31   static int(*dll_PySys_SetObject)(char *, PyObject *);
32   static int(*dll_PySys_SetArgv)(int, char **);
33   static PyTypeObject* dll_PyType_Type;
34 + static int (*dll_PyType_Ready)(PyTypeObject *type);
35   static PyObject*(*dll_Py_BuildValue)(char *, ...);
36   static PyObject*(*dll_Py_FindMethod)(struct PyMethodDef[], PyObject *, char *);
37   static PyObject*(*dll_Py_InitModule4)(char *, struct PyMethodDef *, char *, PyObject *, int);
38 ***************
39 *** 305,310 ****
40 --- 307,313 ----
41       {"PySys_SetObject", (PYTHON_PROC*)&dll_PySys_SetObject},
42       {"PySys_SetArgv", (PYTHON_PROC*)&dll_PySys_SetArgv},
43       {"PyType_Type", (PYTHON_PROC*)&dll_PyType_Type},
44 +     {"PyType_Ready", (PYTHON_PROC*)&dll_PyType_Ready},
45       {"Py_BuildValue", (PYTHON_PROC*)&dll_Py_BuildValue},
46       {"Py_FindMethod", (PYTHON_PROC*)&dll_Py_FindMethod},
47   # if (PY_VERSION_HEX >= 0x02050000) && SIZEOF_SIZE_T != SIZEOF_INT
48 *** ../vim-7.3.144/src/version.c        2011-03-26 13:56:41.000000000 +0100
49 --- src/version.c       2011-03-26 18:11:19.000000000 +0100
50 ***************
51 *** 716,717 ****
52 --- 716,719 ----
53   {   /* Add new patch number below this line */
54 + /**/
55 +     145,
56   /**/
57
58 -- 
59 This message contains 78% recycled characters.
60
61  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
62 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
63 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
64  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.037411 seconds and 3 git commands to generate.