C
Christophe Mckeon
hi,
there is a function prototype:
double rb_genrand_real(void);
in intern.h which is included by ruby.h
i'd like to call this function from C
directly rather that calling the rand
method in order avoid unnecessary overhead.
i'm not really sure why i am getting this
at run time though:
dyld: lazy symbol binding failed: Symbol not found: _rb_genrand_real
Referenced from:
/Library/Ruby/Gems/1.8/gems/drp-0.9.0/lib/drp_main_ext.bundle
Expected in: dynamic lookup
dyld: Symbol not found: _rb_genrand_real
Referenced from:
/Library/Ruby/Gems/1.8/gems/drp-0.9.0/lib/drp_main_ext.bundle
Expected in: dynamic lookup
shouldn't all functions included through
ruby.h be available?
thanks,
_c
there is a function prototype:
double rb_genrand_real(void);
in intern.h which is included by ruby.h
i'd like to call this function from C
directly rather that calling the rand
method in order avoid unnecessary overhead.
i'm not really sure why i am getting this
at run time though:
dyld: lazy symbol binding failed: Symbol not found: _rb_genrand_real
Referenced from:
/Library/Ruby/Gems/1.8/gems/drp-0.9.0/lib/drp_main_ext.bundle
Expected in: dynamic lookup
dyld: Symbol not found: _rb_genrand_real
Referenced from:
/Library/Ruby/Gems/1.8/gems/drp-0.9.0/lib/drp_main_ext.bundle
Expected in: dynamic lookup
shouldn't all functions included through
ruby.h be available?
thanks,
_c