diff options
Diffstat (limited to 'lib/kross/ruby/rubymodule.cpp')
-rw-r--r-- | lib/kross/ruby/rubymodule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kross/ruby/rubymodule.cpp b/lib/kross/ruby/rubymodule.cpp index 948a10ee..3f6735d5 100644 --- a/lib/kross/ruby/rubymodule.cpp +++ b/lib/kross/ruby/rubymodule.cpp @@ -40,7 +40,7 @@ RubyModule::RubyModule(Kross::Api::Module::Ptr mod, TQString modname) : d(new Ru krossdebug(TQString("Module: %1").arg(modname)); VALUE rmodule = rb_define_module(modname.ascii()); rb_define_module_function(rmodule,"method_missing", (VALUE (*)(...))RubyModule::method_missing, -1); - VALUE rm = RubyExtension::toVALUE( mod.data() ); + VALUE rm = RubyExtension::toVALUE( (Kross::Api::Object::Ptr)mod.data() ); rb_define_const(rmodule, "MODULEOBJ", rm); } |