On Wed, 2008-01-02 at 06:59 +0900, Michael N. wrote:
static VALUE my_init(int argc, VALUE *argv, VALUE self)
{
…
Check_Type(self,T_DATA);
DATA_PTR(self) = my_var;
Thank you for the reply. I think I found the problem: I was compiling
the extension against ruby 1.9, but when I ran irb, I was mistakenly
running irb 1.8.
Too many combinations of installations to keep track of when trying to
do portability testing
Regards,
Jeff D.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.