From: Tobias Grimm Date: 2004-08-21T21:35:34+09:00 Subject: Re: Overriding virtual C++ method in Ruby Tobias Grimm wrote: > Where can the problem be? the test() implementation of the Ruby > Bar-class gets called, but then something seems to go wrong with > returning the string value. I figured out, that the following typemap will solve the problem: %typemap(directorout) char * { $result = STR2CSTR($1); } Tobias