From: unbewusst Date: 2007-08-20T01:44:57+09:00 Subject: Re: how to read a ruby symbol from C ? On 19 ao�t, 05:27, Nobuyoshi Nakada wrote: > > You need to include st.h too. > > But I guess what you need first is the knowledge of C. OK, thanks, including st.h is OK, BUT using : 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 ??? Yvon