| Modifier and Type | Field and Description |
|---|---|
| private final RubyClass | |
| private final CallbackInfo | |
| private final CachingCallSite | |
| private final NativeFunctionInfo | |
| private final ClosurePool | |
| private final WeakIdentityHashMap | |
| private final Ruby |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Pointer | |
| public final Pointer | |
| private synchronized Pointer | |
| private static final boolean | Returns: true if type is a valid parameter type for a callback.The type to examine type)Checks if a type is a valid parameter type for a callback |
| private static final boolean | Returns: true if type is a valid return type for a callback.The type to examine type)Checks if a type is a valid callback return type |
| pack-priv NativeCallbackPointer | |
| pack-priv NativeCallbackPointer | |
| private final NativeFunctionInfo |
| callbackClass | back to summary |
|---|---|
| private final RubyClass callbackClass | |
| callbackInfo | back to summary |
|---|---|
| private final CallbackInfo callbackInfo | |
| callSite | back to summary |
|---|---|
| private final CachingCallSite callSite | |
| closureInfo | back to summary |
|---|---|
| private final NativeFunctionInfo closureInfo | |
| closurePool | back to summary |
|---|---|
| private final ClosurePool closurePool | |
| closures | back to summary |
|---|---|
| private final WeakIdentityHashMap closures | |
| runtime | back to summary |
|---|---|
| private final Ruby runtime | |
| NativeCallbackFactory | back to summary |
|---|---|
| public NativeCallbackFactory(Ruby runtime, CallbackInfo cbInfo) | |
| getCallback | back to summary |
|---|---|
| public final Pointer getCallback(RubyObject callable) | |
| getCallback | back to summary |
|---|---|
| public final Pointer getCallback(IRubyObject callable, CachingCallSite callSite) | |
| getCallbackPointer | back to summary |
|---|---|
| private synchronized Pointer getCallbackPointer(IRubyObject callable, CachingCallSite callSite) | |
| isParameterTypeValid | back to summary |
|---|---|
| private static final boolean isParameterTypeValid(Type type) Checks if a type is a valid parameter type for a callback
| |
| isReturnTypeValid | back to summary |
|---|---|
| private static final boolean isReturnTypeValid(Type type) Checks if a type is a valid callback return type
| |
| newCallback | back to summary |
|---|---|
| pack-priv NativeCallbackPointer newCallback(IRubyObject callable, CachingCallSite callSite) | |
| newCallback | back to summary |
|---|---|
| pack-priv NativeCallbackPointer newCallback(Object callable) | |
| newFunctionInfo | back to summary |
|---|---|
| private final NativeFunctionInfo newFunctionInfo(Ruby runtime, CallbackInfo cbInfo) | |