]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.309
- new
[packages/vim.git] / 7.3.309
CommitLineData
59ab3540
AM
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.309
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.309 (after 7.3.307)
11Problem: Warnings for pointer types.
12Solution: Change PySliceObject to PyObject.
13Files: src/if_python3.c
14
15
16*** ../vim-7.3.308/src/if_python3.c 2011-09-14 15:01:54.000000000 +0200
17--- src/if_python3.c 2011-09-14 15:30:45.000000000 +0200
18***************
19*** 1030,1036 ****
20 } else if (PySlice_Check(idx)) {
21 Py_ssize_t start, stop, step, slicelen;
22
23! if (PySlice_GetIndicesEx((PySliceObject *)idx,
24 (Py_ssize_t)((BufferObject *)(self))->buf->b_ml.ml_line_count+1,
25 &start, &stop,
26 &step, &slicelen) < 0) {
27--- 1030,1036 ----
28 } else if (PySlice_Check(idx)) {
29 Py_ssize_t start, stop, step, slicelen;
30
31! if (PySlice_GetIndicesEx((PyObject *)idx,
32 (Py_ssize_t)((BufferObject *)(self))->buf->b_ml.ml_line_count+1,
33 &start, &stop,
34 &step, &slicelen) < 0) {
35***************
36*** 1054,1060 ****
37 } else if (PySlice_Check(idx)) {
38 Py_ssize_t start, stop, step, slicelen;
39
40! if (PySlice_GetIndicesEx((PySliceObject *)idx,
41 (Py_ssize_t)((BufferObject *)(self))->buf->b_ml.ml_line_count+1,
42 &start, &stop,
43 &step, &slicelen) < 0) {
44--- 1054,1060 ----
45 } else if (PySlice_Check(idx)) {
46 Py_ssize_t start, stop, step, slicelen;
47
48! if (PySlice_GetIndicesEx((PyObject *)idx,
49 (Py_ssize_t)((BufferObject *)(self))->buf->b_ml.ml_line_count+1,
50 &start, &stop,
51 &step, &slicelen) < 0) {
52***************
53*** 1142,1148 ****
54 } else if (PySlice_Check(idx)) {
55 Py_ssize_t start, stop, step, slicelen;
56
57! if (PySlice_GetIndicesEx((PySliceObject *)idx,
58 ((RangeObject *)(self))->end-((RangeObject *)(self))->start+1,
59 &start, &stop,
60 &step, &slicelen) < 0) {
61--- 1142,1148 ----
62 } else if (PySlice_Check(idx)) {
63 Py_ssize_t start, stop, step, slicelen;
64
65! if (PySlice_GetIndicesEx((PyObject *)idx,
66 ((RangeObject *)(self))->end-((RangeObject *)(self))->start+1,
67 &start, &stop,
68 &step, &slicelen) < 0) {
69***************
70*** 1164,1170 ****
71 } else if (PySlice_Check(idx)) {
72 Py_ssize_t start, stop, step, slicelen;
73
74! if (PySlice_GetIndicesEx((PySliceObject *)idx,
75 ((RangeObject *)(self))->end-((RangeObject *)(self))->start+1,
76 &start, &stop,
77 &step, &slicelen) < 0) {
78--- 1164,1170 ----
79 } else if (PySlice_Check(idx)) {
80 Py_ssize_t start, stop, step, slicelen;
81
82! if (PySlice_GetIndicesEx((PyObject *)idx,
83 ((RangeObject *)(self))->end-((RangeObject *)(self))->start+1,
84 &start, &stop,
85 &step, &slicelen) < 0) {
86*** ../vim-7.3.308/src/version.c 2011-09-14 15:39:26.000000000 +0200
87--- src/version.c 2011-09-14 15:40:17.000000000 +0200
88***************
89*** 711,712 ****
90--- 711,714 ----
91 { /* Add new patch number below this line */
92+ /**/
93+ 309,
94 /**/
95
96--
97Never enter the boss's office unless it's absolutely necessary. Every boss
98saves one corner of the desk for useless assignments that are doled out like
99Halloween candy to each visitor.
100 (Scott Adams - The Dilbert principle)
101
102 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
103/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
104\\\ an exciting new programming language -- http://www.Zimbu.org ///
105 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.140705 seconds and 4 git commands to generate.