S
Shinku Fag
Hello.
I trying to make a function with C extension for 1.8.7 that should use
functions defined in Ruby such as
better r_r) in intern.h, seems to be unusable. If I just add string
So, is there a way to use such functions in the extension without
copypasting half the eval.c (and maybe even something else) into it?
Thanks.
I trying to make a function with C extension for 1.8.7 that should use
functions defined in Ruby such as
But functions that aren't reflected (sorry, I don't know how to call itVALUE eval(VALUE,VALUE,VALUE,const char*,int)
better r_r) in intern.h, seems to be unusable. If I just add string
to extension source or intern.h then I getVALUE eval _((VALUE,VALUE,VALUE,const char*,int));
symbol lookup error: /usr/lib/ruby/gems/1.8/gems/rmtools-1.0.0/lib/rmtools.so: undefined symbol: eval
So, is there a way to use such functions in the extension without
copypasting half the eval.c (and maybe even something else) into it?
Thanks.