summaryrefslogtreecommitdiff
path: root/mjit_c.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mjit_c.rb')
-rw-r--r--mjit_c.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/mjit_c.rb b/mjit_c.rb
index 479c6d0abf..bee063aa3e 100644
--- a/mjit_c.rb
+++ b/mjit_c.rb
@@ -138,6 +138,13 @@ module RubyVM::MJIT # :nodoc: all
}
end
+ def rb_full_cfunc_return
+ Primitive.cstmt! %{
+ extern void rb_full_cfunc_return(rb_execution_context_t *ec, VALUE return_value);
+ return SIZET2NUM((size_t)rb_full_cfunc_return);
+ }
+ end
+
#========================================================================================
#
# Old stuff