« Return to Thread: [ruby-core:21135] private_class_method equivalent for C extensions?

[ruby-core:21135] private_class_method equivalent for C extensions?

by Daniel Berger-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

Is there a function or macro equivalent of private_class_method within a
C extension? Or do I need to use rb_funcall?

I tried rb_mod_private_method, but I guess it's not meant for direct use.

Regards,

Dan

 « Return to Thread: [ruby-core:21135] private_class_method equivalent for C extensions?