Skip to content

Commit 29eccd4

Browse files
committed
Fixed if_ruby19.c for compilation with Ruby 2.0 and 2.1
1 parent 7adcac9 commit 29eccd4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/if_ruby19.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
#define dll_rb_cNilClass dll_rb19_cNilClass
1010
#define dll_rb_cSymbol dll_rb19_cSymbol
1111
#define dll_rb_cTrueClass dll_rb19_cTrueClass
12+
#define rb_num2long_stub rb19_num2long_stub
13+
#define rb_int2big_stub rb19_int2big_stub
14+
#define rb_fix2int_stub rb19_fix2int_stub
15+
#define rb_num2int_stub rb19_num2int_stub
16+
#define rb_float_new_in_heap rb19_float_new_in_heap
17+
#define rb_num2ulong rb19_num2ulong
1218
#define ex_ruby ex_ruby19
1319
#define ex_rubydo ex_ruby19do
1420
#define ex_rubyfile ex_ruby19file

0 commit comments

Comments
 (0)