]>
Commit | Line | Data |
---|---|---|
5a088057 KK |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.731 | |
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.731 | |
11 | Problem: Py3Init_vim() is exported uneccessarily. | |
12 | Solution: Make it static. (Ken Takata) | |
13 | Files: 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 | -- | |
75 | hundred-and-one symptoms of being an internet addict: | |
76 | 90. 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 /// |