E
Eric Hofreiter
--0-844079446-1131789087=:95667
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I'm doing some experimenting with writing C extensions, and so far it is =
fairly simple and intuitive. However, there is one thing that I cannot f=
igure out. In ruby.h there are the native types define as T_STRING, T_FI=
XNUM, etc., allowing you to take an argument and see if it is a string or=
fixnum and act accordingly. How would I go about testing if the argumen=
t is a user-defined type? Is this even possible? Thanks in advance.
=09
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I'm doing some experimenting with writing C extensions, and so far it is =
fairly simple and intuitive. However, there is one thing that I cannot f=
igure out. In ruby.h there are the native types define as T_STRING, T_FI=
XNUM, etc., allowing you to take an argument and see if it is a string or=
fixnum and act accordingly. How would I go about testing if the argumen=
t is a user-defined type? Is this even possible? Thanks in advance.
=09