• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

K.Takata's patch queue for Vim


Commit MetaInfo

Revisión98f6a754d78eb135dcc8c458a87638fdec4aff9d (tree)
Tiempo2021-01-17 16:18:42
AutorK.Takata <kentkt@csc....>
CommiterK.Takata

Log Message

Update ruby patch

Cambiar Resumen

Diferencia incremental

diff -r f1221aad5d77 -r 98f6a754d78e fix-if_ruby-for-msvc.patch
--- a/fix-if_ruby-for-msvc.patch Sun Jan 17 16:12:00 2021 +0900
+++ b/fix-if_ruby-for-msvc.patch Sun Jan 17 16:18:42 2021 +0900
@@ -4,18 +4,7 @@
44 diff --git a/src/if_ruby.c b/src/if_ruby.c
55 --- a/src/if_ruby.c
66 +++ b/src/if_ruby.c
7-@@ -100,7 +100,9 @@
8-
9- # if RUBY_VERSION >= 30
10- # define rb_check_type rb_check_type_stub
11--# define rb_num2uint rb_num2uint_stub
12-+# if VIM_SIZEOF_INT < VIM_SIZEOF_LONG || defined(_WIN32)
13-+# define rb_num2uint rb_num2uint_stub
14-+# endif
15- # define ruby_malloc_size_overflow ruby_malloc_size_overflow_stub
16- # endif
17-
18-@@ -436,7 +438,7 @@ static VALUE (*dll_rb_hash_new) (void);
7+@@ -436,7 +436,7 @@ static VALUE (*dll_rb_hash_new) (void);
198 static VALUE (*dll_rb_inspect) (VALUE);
209 static VALUE (*dll_rb_int2inum) (long);
2110 static ID (*dll_rb_intern) (const char*);
@@ -24,7 +13,7 @@
2413 static long (*dll_rb_fix2int) (VALUE);
2514 static long (*dll_rb_num2int) (VALUE);
2615 static unsigned long (*dll_rb_num2uint) (VALUE);
27-@@ -524,7 +526,7 @@ static void (*dll_rb_gc_writebarrier_unp
16+@@ -524,7 +524,7 @@ static void (*dll_rb_gc_writebarrier_unp
2817 # endif
2918
3019 # if RUBY_VERSION >= 30
@@ -33,7 +22,7 @@
3322 # endif
3423
3524 # if RUBY_VERSION >= 26
36-@@ -554,7 +556,7 @@ rb_int2big_stub(SIGNED_VALUE x)
25+@@ -554,7 +554,7 @@ rb_int2big_stub(SIGNED_VALUE x)
3726 {
3827 return dll_rb_int2big(x);
3928 }
@@ -42,7 +31,7 @@
4231 long
4332 rb_fix2int_stub(VALUE x)
4433 {
45-@@ -612,7 +614,7 @@ rb_check_type_stub(VALUE obj, int t)
34+@@ -612,7 +612,7 @@ rb_check_type_stub(VALUE obj, int t)
4635 {
4736 dll_rb_check_type(obj, t);
4837 }
@@ -51,7 +40,7 @@
5140 unsigned long
5241 rb_num2uint_stub(VALUE x)
5342 {
54-@@ -695,7 +697,7 @@ static struct
43+@@ -695,7 +695,7 @@ static struct
5544 {"rb_inspect", (RUBY_PROC*)&dll_rb_inspect},
5645 {"rb_int2inum", (RUBY_PROC*)&dll_rb_int2inum},
5746 {"rb_intern", (RUBY_PROC*)&dll_rb_intern},