S
saladin.mundi
hey.
how is it possible to print out an array (T_ARRAY) in a C-method?
example
I want to get the instance methods via the corresponding c method. the =
method returns T_ARRAY.
VALUE es =3D rb_class_instance_methods(1, args, CLASS_OF(targetcl));
is there something like:=20
for(int i =3D 0; i<RARRAY_LEN(es); i++)
{
printf("content of array element %s",es);=20
}
??
I know that the content of the array element is a (ruby) string.
thx for your help in advance
how is it possible to print out an array (T_ARRAY) in a C-method?
example
I want to get the instance methods via the corresponding c method. the =
method returns T_ARRAY.
VALUE es =3D rb_class_instance_methods(1, args, CLASS_OF(targetcl));
is there something like:=20
for(int i =3D 0; i<RARRAY_LEN(es); i++)
{
printf("content of array element %s",es);=20
}
??
I know that the content of the array element is a (ruby) string.
thx for your help in advance