Greetings compadres !
I’m on the verge of finishing my awesome C++ wrapper for the libruby,
which is awesome.
Yet I need a tiny last thing to ease the work of extending Ruby
generated Ruby classes with C++ generated Ruby classes.
I need to get a VALUE of a Class object describing a Ruby generated
class.
This is what I tried :
VALUE ret = rb_gv_get(“NameOfClass”);
But this returns Qnil, for some reason.
Yet I can instanciate NameOfClass via C (and via Ruby as well). What’s
up with that ^^ ?
Of course, I can get the Class instance by calling the class method on
an instance of the class I’m trying to get. But I would have to create
an instance of this class. And that’s pretty much what
I don’t wanna do.
Thanks for helping (if you decide to help. Otherwise, shame on you !)