Why am I able to directly use some of the ruby C extension array methods, but not others? -
i using many of array methods found in array.c of ruby codebase, when trying call
value rintersection = rb_ary_and(rary1, rary2);
i got error:
dyld: lazy symbol binding failed: symbol not found: _rb_ary_and referenced from: ./ext/ev/counters.bundle expected in: flat namespace
in other areas of code using rb_ary_sort_bang, rb_ary_clear, rb_ary_reverse, etc etc. i'm not sure why rb_ary_and different.
have @ http://www.ruby-doc.org/doxygen/1.8.4/array_8c-source.html (line 2666)
there can see method rb_ary_and declared static. means visible inside of array.c.
Comments
Post a Comment