public class CallbackManager extends CallbackManager
| Constructor and Description |
|---|
CallbackManager() |
| Modifier and Type | Method and Description |
|---|---|
static RubyClass |
createCallbackClass(Ruby runtime,
RubyModule module)
Creates a Callback class for a ruby runtime
|
Pointer |
getCallback(Ruby runtime,
CallbackInfo cbInfo,
Object proc) |
NativeCallbackFactory |
getCallbackFactory(Ruby runtime,
CallbackInfo cbInfo) |
static CallbackManager |
getInstance()
Gets the singleton instance of CallbackManager
|
public static final CallbackManager getInstance()
public static RubyClass createCallbackClass(Ruby runtime, RubyModule module)
runtime - The runtime to create the class formodule - The module to place the class inpublic final Pointer getCallback(Ruby runtime, CallbackInfo cbInfo, Object proc)
getCallback in class CallbackManagerpublic final NativeCallbackFactory getCallbackFactory(Ruby runtime, CallbackInfo cbInfo)
Copyright © 2001–2024 JRuby. All rights reserved.