Dave Thomas
1/9/2008 1:54:00 PM
On Jan 9, 2008, at 4:17 AM, Edwin Pratomo wrote:
> in particular, what I would like to do is Object.private_methods, in
> C way.
To call a method that's available in RUby, just use rb_funcall
rb_funcall(receiver, mid, argc, arg, arg, ...)
The mid parameter is the ID of the method to invoke (nor its name) and
the arguments (if any) are VALUEs,
Dave