From: Tim Pease Date: 2007-08-17T23:55:20+09:00 Subject: Re: [C ext to Ruby] how to produce from C, a ruby symbol ??? On 8/17/07, unbewust wrote: > i'd like to use ruby symbols from C , i've found ID2SYM and SYM2ID but > nothing like STR2SYM in ruby.h > > i'd like to produce those ruby symbols : > > :verbose and : noop > ID2SYM( rb_intern( "verbose" ) ); ID2SYM( rb_intern( "noop" ) ); Blessings, TwP