From: Kero van Gelder Date: 2001-09-23T19:06:45+09:00 Subject: [ruby-talk:21599] Re: Trouble in native library... > void Init_native() { > TITLE = rb_str_new2("title"); > + rb_global_variable(&TITLE); > rb_funcall(rb_cObject, rb_intern("p"), 1, TITLE); > > rb_mRbTk = rb_define_module("RbTk"); It works. I looked at that function and thought, I have a VALUE, not a VALUE*, so I don't need it. Thanks, Kero. +--- Kero ------------------------------ kero@chello.nl ---+ | Don't split your mentality without thinking twice | | Proud like a God -- Guano Apes | +--- M38c ------- http://members.chello.nl/~k.vangelder ---+