D
Detlef Reichl
Hi,
i have a method, wich is called with type identifiers like this:
my_method(Sting, Fixnum)
this method is implemented in a C extension. In this extension it is
easy to get the name of the parameters with rb_class2name. But how can i
get the types like T_STRING or T_FIXNUM? If i use BUILTIN_TYPE or TYPE i
get T_CLASS.
Cheers, detlef
i have a method, wich is called with type identifiers like this:
my_method(Sting, Fixnum)
this method is implemented in a C extension. In this extension it is
easy to get the name of the parameters with rb_class2name. But how can i
get the types like T_STRING or T_FIXNUM? If i use BUILTIN_TYPE or TYPE i
get T_CLASS.
Cheers, detlef