From: unbewusst Date: 2007-08-20T19:55:03+09:00 Subject: Re: how to read a ruby symbol from C ? On 20 ao�t, 01:40, Nobuyoshi Nakada wrote: > Hi, > > At Mon, 20 Aug 2007 01:44:57 +0900, > unbewusst wrote in [ruby-talk:265404]: > > > rb_id2name( SYM2ID( a key T_SYMBOL from a RHASH )) > > > i get allways (null) even if i'm sure, from ruby side the, symbols > > are : > > > :verbose and :noop > > > isn't the above the correct way to get the name of a symbol ??? > > That portion you mentioned is correct. So something is wrong > where you didn't. OK, i'll look again at that... thanks, Yvon