| Modifier and Type | Field and Description |
|---|---|
| private final CallSite | |
| protected final NativeFunctionInfo | |
| private static final int | |
| private final WeakReference | |
| protected final Ruby |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static final long | Returns: a java long value.The Ruby object to convert value)Extracts the primitive value from a Ruby object. |
| private static final IRubyObject | Returns: A new Ruby object.the thread context context, Type The type of the native parameter type, Closure.The JFFI Closure parameter buffer. buffer,The index of the parameter in the buffer. index)Converts a native value into a ruby object. |
| private static final IRubyObject | Returns: A new Ruby string object or nil if string is NULL.The ruby runtime to create the ruby string in runtime, Closure.The JFFI Closure parameter buffer. buffer,The index of the parameter in the buffer. index)Converts a native string value into a ruby string object. |
| public void | |
| protected final void | |
| private static final long | Returns: a java long value.The Ruby object to convert value)Extracts the primitive value from a Ruby object. |
| private static final void | setReturnValue(ThreadContext
The thread context context, Type The ruby type of the return value type, Closure.The native parameter buffer buffer,The ruby value value)Converts a ruby return value into a native callback return value. |
| callSite | back to summary |
|---|---|
| private final CallSite callSite | |
| closureInfo | back to summary |
|---|---|
| protected final NativeFunctionInfo closureInfo | |
| LONG_SIZE | back to summary |
|---|---|
| private static final int LONG_SIZE | |
| proc | back to summary |
|---|---|
| private final WeakReference<Object> proc | |
| runtime | back to summary |
|---|---|
| protected final Ruby runtime | |
| NativeClosureProxy | back to summary |
|---|---|
| pack-priv NativeClosureProxy(Ruby runtime, NativeFunctionInfo closureInfo, Object proc) | |
| NativeClosureProxy | back to summary |
|---|---|
| pack-priv NativeClosureProxy(Ruby runtime, NativeFunctionInfo closureInfo, Object proc, CallSite callSite) | |
| addressValue | back to summary |
|---|---|
| private static final long addressValue(ThreadContext context, IRubyObject value) Extracts the primitive value from a Ruby object. This is similar to Util.longValue(), except it won't throw exceptions for invalid values.
| |
| fromNative | back to summary |
|---|---|
| private static final IRubyObject fromNative(ThreadContext context, Type type, Closure. Converts a native value into a ruby object.
| |
| getStringParameter | back to summary |
|---|---|
| private static final IRubyObject getStringParameter(Ruby runtime, Closure. Converts a native string value into a ruby string object.
| |
| invoke | back to summary |
|---|---|
| public void invoke(Closure. Implements com. | |
| invoke | back to summary |
|---|---|
| protected final void invoke(Closure. | |
| longValue | back to summary |
|---|---|
| private static final long longValue(ThreadContext context, IRubyObject value) Extracts the primitive value from a Ruby object. This is similar to Util.longValue(), except it won't throw exceptions for invalid values.
| |
| setReturnValue | back to summary |
|---|---|
| private static final void setReturnValue(ThreadContext context, Type type, Closure. Converts a ruby return value into a native callback return value.
| |