From: nobu.nokada@... Date: 2002-08-11T11:57:08+09:00 Subject: Re: Embeding Ruby in C++ code. Hi, At Sun, 11 Aug 2002 04:50:54 +0900, Kostas Katsamakas wrote: > The command gets evaluated ok but something seems to be wrong with the > argument i get in the > do_something function. If i use the TYPE(str) macro i get as a result 2 > which equals T_OBJECT > instead of T_STRING as i expected. What am i doing wrong? You forget "self". VALUE do_something(VALUE self, VALUE str) -- Nobu Nakada