]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.439
- up to 7.3.600
[packages/vim.git] / 7.3.439
CommitLineData
03d4279c
AM
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.439
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.439
11Problem: Compiler warnings to size casts in Perl interface.
12Solution: Use XS macros. (James McCoy)
13Files: src/if_perl.xs, src/typemap
14
15
16*** ../vim-7.3.438/src/if_perl.xs 2011-09-07 18:47:19.000000000 +0200
17--- src/if_perl.xs 2012-02-12 00:28:52.000000000 +0100
18***************
19*** 611,617 ****
20 if (ptr->w_perl_private == NULL)
21 {
22 ptr->w_perl_private = newSV(0);
23! sv_setiv(ptr->w_perl_private, (IV)ptr);
24 }
25 else
26 SvREFCNT_inc(ptr->w_perl_private);
27--- 611,617 ----
28 if (ptr->w_perl_private == NULL)
29 {
30 ptr->w_perl_private = newSV(0);
31! sv_setiv(ptr->w_perl_private, PTR2IV(ptr));
32 }
33 else
34 SvREFCNT_inc(ptr->w_perl_private);
35***************
36*** 629,635 ****
37 if (ptr->b_perl_private == NULL)
38 {
39 ptr->b_perl_private = newSV(0);
40! sv_setiv(ptr->b_perl_private, (IV)ptr);
41 }
42 else
43 SvREFCNT_inc(ptr->b_perl_private);
44--- 629,635 ----
45 if (ptr->b_perl_private == NULL)
46 {
47 ptr->b_perl_private = newSV(0);
48! sv_setiv(ptr->b_perl_private, PTR2IV(ptr));
49 }
50 else
51 SvREFCNT_inc(ptr->b_perl_private);
52*** ../vim-7.3.438/src/typemap 2010-08-15 21:57:29.000000000 +0200
53--- src/typemap 2012-02-12 00:28:52.000000000 +0100
54***************
55*** 6,12 ****
56 T_VIOBJNOMUNGE
57 if (sv_isa($arg, \"${ntype}\")) {
58 IV tmp = SvIV((SV*)SvRV($arg));
59! $var = ($type) tmp;
60 if (!tmp)
61 croak(\"$ntype no longer exists\");
62 }
63--- 6,12 ----
64 T_VIOBJNOMUNGE
65 if (sv_isa($arg, \"${ntype}\")) {
66 IV tmp = SvIV((SV*)SvRV($arg));
67! $var = INT2PTR($type, tmp);
68 if (!tmp)
69 croak(\"$ntype no longer exists\");
70 }
71*** ../vim-7.3.438/src/version.c 2012-02-12 00:18:54.000000000 +0100
72--- src/version.c 2012-02-12 00:31:18.000000000 +0100
73***************
74*** 716,717 ****
75--- 716,719 ----
76 { /* Add new patch number below this line */
77+ /**/
78+ 439,
79 /**/
80
81--
82Microsoft is to software what McDonalds is to gourmet cooking
83
84 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
85/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
86\\\ an exciting new programming language -- http://www.Zimbu.org ///
87 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.13953 seconds and 4 git commands to generate.