summaryrefslogtreecommitdiffstats
path: root/lib/kross/ruby/rubyextension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/ruby/rubyextension.cpp')
-rw-r--r--lib/kross/ruby/rubyextension.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kross/ruby/rubyextension.cpp b/lib/kross/ruby/rubyextension.cpp
index 89c73b1a..589a0b27 100644
--- a/lib/kross/ruby/rubyextension.cpp
+++ b/lib/kross/ruby/rubyextension.cpp
@@ -126,7 +126,7 @@ void RubyExtension::delete_object(void* object)
void RubyExtension::delete_exception(void* object)
{
Kross::Api::Exception* exc = static_cast<Kross::Api::Exception*>(object);
- exc->_KShared_unref();
+ exc->_TDEShared_unref();
}
@@ -186,7 +186,7 @@ VALUE RubyExtension::convertFromException(Kross::Api::Exception::Ptr exc)
{
RubyExtensionPrivate::s_krossException = rb_define_class_under(RubyInterpreter::krossModule(), "KrossException", rb_eRuntimeError);
}
- exc->_KShared_ref();
+ exc->_TDEShared_ref();
return Data_Wrap_Struct(RubyExtensionPrivate::s_krossException, 0, RubyExtension::delete_exception, exc.data() );
}