public final Pointer getCallback(RubyObject callable) { return getCallback(callable, callSite); }
public final Pointer getCallback(RubyObject callable) { return getCallback(callable, callSite); }
public final Pointer getCallback(RubyObject callable) { return getCallback(callable, callSite); }
public final Pointer getCallback(RubyObject callable) { return getCallback(callable, callSite); }
public IRubyObject toNative(ThreadContext context, IRubyObject obj) { if (obj instanceof Pointer || obj.isNil()) { return obj; } else if (obj instanceof RubyObject) { return callbackFactory.getCallback((RubyObject) obj, callSite); } else { throw context.runtime.newTypeError("wrong argument type. Expected callable object"); } } }
public IRubyObject toNative(ThreadContext context, IRubyObject obj) { if (obj instanceof Pointer || obj.isNil()) { return obj; } else if (obj instanceof RubyObject) { return callbackFactory.getCallback((RubyObject) obj, callSite); } else { throw context.runtime.newTypeError("wrong argument type. Expected callable object"); } } }
public IRubyObject toNative(ThreadContext context, IRubyObject obj) { if (obj instanceof Pointer || obj.isNil()) { return obj; } else if (obj instanceof RubyObject) { return callbackFactory.getCallback((RubyObject) obj, callSite); } else { throw context.runtime.newTypeError("wrong argument type. Expected callable object"); } } }
public IRubyObject toNative(ThreadContext context, IRubyObject obj) { if (obj instanceof Pointer || obj.isNil()) { return obj; } else if (obj instanceof RubyObject) { return callbackFactory.getCallback((RubyObject) obj, callSite); } else { throw context.runtime.newTypeError("wrong argument type. Expected callable object"); } } }
public final org.jruby.ext.ffi.Pointer getCallback(Ruby runtime, CallbackInfo cbInfo, Object proc) { return proc instanceof RubyObject ? getCallbackFactory(runtime, cbInfo).getCallback((RubyObject) proc) : getCallbackFactory(runtime, cbInfo).newCallback(proc); }
public final org.jruby.ext.ffi.Pointer getCallback(Ruby runtime, CallbackInfo cbInfo, Object proc) { return proc instanceof RubyObject ? getCallbackFactory(runtime, cbInfo).getCallback((RubyObject) proc) : getCallbackFactory(runtime, cbInfo).newCallback(proc); }
public final org.jruby.ext.ffi.Pointer getCallback(Ruby runtime, CallbackInfo cbInfo, Object proc) { return proc instanceof RubyObject ? getCallbackFactory(runtime, cbInfo).getCallback((RubyObject) proc) : getCallbackFactory(runtime, cbInfo).newCallback(proc); }
public final org.jruby.ext.ffi.Pointer getCallback(Ruby runtime, CallbackInfo cbInfo, Object proc) { return proc instanceof RubyObject ? getCallbackFactory(runtime, cbInfo).getCallback((RubyObject) proc) : getCallbackFactory(runtime, cbInfo).newCallback(proc); }