]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.583
- add patches 7.3.619-743
[packages/vim.git] / 7.3.583
CommitLineData
8bb52fd3
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.583
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.583
11Problem: PyObject_NextNotImplemented is not defined before Python 2.7.
12 (Danek Duvall)
13Solution: Add #ifdefs.
14Files: src/if_python.c
15
16
17*** ../vim-7.3.582/src/if_python.c 2012-06-29 19:14:48.000000000 +0200
18--- src/if_python.c 2012-06-30 12:59:38.000000000 +0200
19***************
20*** 214,220 ****
21 # define Py_Finalize dll_Py_Finalize
22 # define Py_IsInitialized dll_Py_IsInitialized
23 # define _PyObject_New dll__PyObject_New
24! # define _PyObject_NextNotImplemented (*dll__PyObject_NextNotImplemented)
25 # define _Py_NoneStruct (*dll__Py_NoneStruct)
26 # define PyObject_Init dll__PyObject_Init
27 # define PyObject_GetIter dll_PyObject_GetIter
28--- 214,222 ----
29 # define Py_Finalize dll_Py_Finalize
30 # define Py_IsInitialized dll_Py_IsInitialized
31 # define _PyObject_New dll__PyObject_New
32! # if defined(PY_VERSION_HEX) && PY_VERSION_HEX >= 0x02070000
33! # define _PyObject_NextNotImplemented (*dll__PyObject_NextNotImplemented)
34! # endif
35 # define _Py_NoneStruct (*dll__Py_NoneStruct)
36 # define PyObject_Init dll__PyObject_Init
37 # define PyObject_GetIter dll_PyObject_GetIter
38***************
39*** 310,316 ****
40--- 312,320 ----
41 static PyObject*(*dll__PyObject_New)(PyTypeObject *, PyObject *);
42 static PyObject*(*dll__PyObject_Init)(PyObject *, PyTypeObject *);
43 static PyObject* (*dll_PyObject_GetIter)(PyObject *);
44+ # if defined(PY_VERSION_HEX) && PY_VERSION_HEX >= 0x02070000
45 static iternextfunc dll__PyObject_NextNotImplemented;
46+ # endif
47 static PyObject* dll__Py_NoneStruct;
48 # if defined(PY_VERSION_HEX) && PY_VERSION_HEX >= 0x02020000
49 static int (*dll_PyType_IsSubtype)(PyTypeObject *, PyTypeObject *);
50***************
51*** 430,436 ****
52--- 434,442 ----
53 {"_PyObject_New", (PYTHON_PROC*)&dll__PyObject_New},
54 {"PyObject_Init", (PYTHON_PROC*)&dll__PyObject_Init},
55 {"PyObject_GetIter", (PYTHON_PROC*)&dll_PyObject_GetIter},
56+ # if defined(PY_VERSION_HEX) && PY_VERSION_HEX >= 0x02070000
57 {"_PyObject_NextNotImplemented", (PYTHON_PROC*)&dll__PyObject_NextNotImplemented},
58+ # endif
59 {"_Py_NoneStruct", (PYTHON_PROC*)&dll__Py_NoneStruct},
60 # if defined(PY_VERSION_HEX) && PY_VERSION_HEX >= 0x02020000
61 {"PyType_IsSubtype", (PYTHON_PROC*)&dll_PyType_IsSubtype},
62*** ../vim-7.3.582/src/version.c 2012-06-29 23:57:50.000000000 +0200
63--- src/version.c 2012-06-30 13:20:46.000000000 +0200
64***************
65*** 716,717 ****
66--- 716,719 ----
67 { /* Add new patch number below this line */
68+ /**/
69+ 583,
70 /**/
71
72--
73hundred-and-one symptoms of being an internet addict:
7490. Instead of calling you to dinner, your spouse sends e-mail.
75
76 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
77/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
78\\\ an exciting new programming language -- http://www.Zimbu.org ///
79 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.094071 seconds and 4 git commands to generate.