From: "Brian Schröder" Date: 2005-08-03T21:22:54+09:00 Subject: Re: symbols in C extensions On 03/08/05, Paolo Capriotti wrote: > Is there a better (i.e. faster) way to create a symbol in a C > extension than writing: rb_eval_string(":my_symbol")? > > Thanks, > > Paolo. > > From README.EXT: :Identifier You can get the symbol value from a string within C code by using rb_intern(const char *name) regards, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/