From: ts Date: 2006-04-07T23:42:15+09:00 Subject: Re: rb_hash_aref and symbol keys >>>>> "A" == Andre Nathan writes: A> /* In ruby: myhash = { :foo => 'blah' } */ A> foo = rb_hash_aref(myhash, rb_intern("foo")); /* returns Qnil :( */ foo = rb_hash_aref(myhash, ID2SYM(rb_intern("foo"))); Guy Decoux