]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.731
- add patches 7.3.619-743
[packages/vim.git] / 7.3.731
CommitLineData
5a088057
KK
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.731
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.731
11Problem: Py3Init_vim() is exported uneccessarily.
12Solution: Make it static. (Ken Takata)
13Files: src/if_python3.c
14
15
16*** ../vim-7.3.730/src/if_python3.c 2012-11-20 11:02:49.000000000 +0100
17--- src/if_python3.c 2012-11-28 15:32:00.000000000 +0100
18***************
19*** 657,663 ****
20 static PyObject *globals;
21
22 static int PythonIO_Init(void);
23! PyMODINIT_FUNC Py3Init_vim(void);
24
25 /******************************************************
26 * 1. Python interpreter main program.
27--- 657,663 ----
28 static PyObject *globals;
29
30 static int PythonIO_Init(void);
31! static PyObject *Py3Init_vim(void);
32
33 /******************************************************
34 * 1. Python interpreter main program.
35***************
36*** 1773,1780 ****
37
38 static struct PyModuleDef vimmodule;
39
40! #ifndef PROTO
41! PyMODINIT_FUNC Py3Init_vim(void)
42 {
43 PyObject *mod;
44 PyObject *tmp;
45--- 1773,1780 ----
46
47 static struct PyModuleDef vimmodule;
48
49! static PyObject *
50! Py3Init_vim(void)
51 {
52 PyObject *mod;
53 PyObject *tmp;
54***************
55*** 1824,1830 ****
56
57 return mod;
58 }
59- #endif
60
61 /*************************************************************************
62 * 4. Utility functions for handling the interface between Vim and Python.
63--- 1824,1829 ----
64*** ../vim-7.3.730/src/version.c 2012-11-28 15:25:28.000000000 +0100
65--- src/version.c 2012-11-28 15:30:47.000000000 +0100
66***************
67*** 727,728 ****
68--- 727,730 ----
69 { /* Add new patch number below this line */
70+ /**/
71+ 731,
72 /**/
73
74--
75hundred-and-one symptoms of being an internet addict:
7690. Instead of calling you to dinner, your spouse sends e-mail.
77
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80\\\ an exciting new programming language -- http://www.Zimbu.org ///
81 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.052536 seconds and 4 git commands to generate.