]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.662 v7.3.662
authorBram Moolenaar <Bram@vim.org>
Tue, 18 Sep 2012 14:36:32 +0000 (16:36 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 18 Sep 2012 14:36:32 +0000 (16:36 +0200)
Problem:    Can't build Ruby interface with Ruby 1.9.3.
Solution:   Add missing functions. (V. Ondruch)

.gitignore
src/if_ruby.c
src/version.c

index 31a932a0aa023d2dc4baa5a4731b4254aa6e24bf..37e032a5e235e3407d5c955effb1be6a1b29d387 100644 (file)
@@ -31,6 +31,7 @@ src/auto/pathdef.c
 *.res
 *.RES
 src/pathdef.c
+src/perl.c
 src/Obj*/pathdef.c
 gvimext.dll
 gvimext.lib
@@ -41,6 +42,7 @@ gvimext.lib
 *.mo
 *.swp
 *~
+src/po/vim.pot
 
 # Generated by "make test"
 src/po/*.ck 
index ab4ac699722310f39653067c602d0c242716f56d..dd1ba47009d5cd54f83a13a53ad9dc9ddfb8511a 100644 (file)
@@ -178,6 +178,9 @@ static void ruby_vim_init(void);
 #define rb_hash_new                    dll_rb_hash_new
 #define rb_inspect                     dll_rb_inspect
 #define rb_int2inum                    dll_rb_int2inum
+#define rb_fix2int                     dll_rb_fix2int
+#define rb_num2int                     dll_rb_num2int
+#define rb_num2uint                    dll_rb_num2uint
 #define rb_lastline_get                        dll_rb_lastline_get
 #define rb_lastline_set                        dll_rb_lastline_set
 #define rb_load_protect                        dll_rb_load_protect
@@ -268,7 +271,9 @@ static VALUE (*dll_rb_hash_aset) (VALUE, VALUE, VALUE);
 static VALUE (*dll_rb_hash_new) (void);
 static VALUE (*dll_rb_inspect) (VALUE);
 static VALUE (*dll_rb_int2inum) (long);
-static VALUE (*dll_rb_int2inum) (long);
+static long (*dll_rb_fix2int) (VALUE);
+static long (*dll_rb_num2int) (VALUE);
+static unsigned long (*dll_rb_num2uint) (VALUE);
 static VALUE (*dll_rb_lastline_get) (void);
 static void (*dll_rb_lastline_set) (VALUE);
 static void (*dll_rb_load_protect) (VALUE, int, int*);
@@ -377,6 +382,9 @@ static struct
     {"rb_hash_new", (RUBY_PROC*)&dll_rb_hash_new},
     {"rb_inspect", (RUBY_PROC*)&dll_rb_inspect},
     {"rb_int2inum", (RUBY_PROC*)&dll_rb_int2inum},
+    {"rb_fix2int", (RUBY_PROC*)&dll_rb_fix2int},
+    {"rb_num2int", (RUBY_PROC*)&dll_rb_num2int},
+    {"rb_num2uint", (RUBY_PROC*)&dll_rb_num2uint},
     {"rb_lastline_get", (RUBY_PROC*)&dll_rb_lastline_get},
     {"rb_lastline_set", (RUBY_PROC*)&dll_rb_lastline_set},
     {"rb_load_protect", (RUBY_PROC*)&dll_rb_load_protect},
index 4b135064750541b7adbb375e30627ce10ddacf11..a6e3ec38cec773bde44afd9d8bd1ac3048348f43 100644 (file)
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    662,
 /**/
     661,
 /**/