>>>>> "A" == =?iso-8859-1?Q?Aleksi Niemel=E4?= <iso-8859-1> writes:

A>   rb_to_id(name)

 Not really. rb_to_id() work only with a symbol, if you try
 rb_to_id(rb_cObject) it will give you an error message.

 Object#id is rb_obj_id()


Guy Decoux