N
Nicholas
Hi,
I have written a ruby extension in C++ and it works fine on OS X
Tiger which ships ruby-1.8.2.
With the succesful test of the extension (bundle), I then proceed to
try to use it within Google-Sketchup [which I think embeds ruby-1.8.5].
Sketchup crashes the application just loading the extension.
8<------8<------8<------8<------8<------8<------8<------8<------8<------
void
Init_rcl(void)
{
cRCL = rb_define_class("rcl", rb_cObject); <=== /CRASH
8<------8<------8<------8<------8<------8<------8<------8<------8<------
Has there been significant changes in extension loading/startup
between ruby 1.8.2 and 1.8.5?
I could install 1.8.5 on my machine to try ou but wanted to find out
more information before I do that.
Regards
I have written a ruby extension in C++ and it works fine on OS X
Tiger which ships ruby-1.8.2.
With the succesful test of the extension (bundle), I then proceed to
try to use it within Google-Sketchup [which I think embeds ruby-1.8.5].
Sketchup crashes the application just loading the extension.
8<------8<------8<------8<------8<------8<------8<------8<------8<------
void
Init_rcl(void)
{
cRCL = rb_define_class("rcl", rb_cObject); <=== /CRASH
8<------8<------8<------8<------8<------8<------8<------8<------8<------
Has there been significant changes in extension loading/startup
between ruby 1.8.2 and 1.8.5?
I could install 1.8.5 on my machine to try ou but wanted to find out
more information before I do that.
Regards