At 07:15 AM 7/11/01 +0900, Craig Files wrote: >Any ideas for writing the typemap for strings in ruby or is >there any reference material for swig and ruby on typemaps? %typemap(ruby,out) string, const string & { $target = rb_str_new2($source->c_str()); }; There's a chapter in 'Programming Ruby' where you can have a look at the Ruby/C API. Bye, Luigi