From: Martin Hansen Date: 2011-11-08T20:10:58+09:00 Subject: Re: Compiling Ruby Inline C code - resolving errors I was in doubt whether to use: char* s = StringValuePtr(rb_iv_get(self, "@seq")); or char* s = RSTRING_PTR(rb_iv_get(self, "@seq")) I see now that the first is plain wrong, but what about the latter? When is that used? I tried to apply the suggested changes, but the C code still have "VALUE self" as first argument in the functions. How did you get rid of that? -- Posted via http://www.ruby-forum.com/.