Beispiel #1
0
        public R_VAL Call(string funcName, R_VAL arg)
        {
#if MRUBY
            return(RubyDLL.r_funcall_1(rb_state, RubyDLL.mrb_top_self(rb_state), funcName, 1, arg));
#else
            return(RubyDLL.r_funcall_1(RubyDLL.rb_vm_top_self(), R_VAL.Create(funcName), 1, arg));
#endif
        }