Not thread safe and it can be called from any thread.
void (*invoke) (
bgfx_callback_interface_t *_this,
char const *_filePath,
uint16_t _line,
char const *_format,
va_list _argList
)
| Modifier and Type | Method and Description |
|---|---|
| public default void | callback(long
a pointer to the memory used for the function's return value.
ret, long If the function is declared as returning Otherwise, the callback must fill the object to which this points, following the same special promotion behavior as
a vector of pointers to memory holding the arguments to the function args)Implements org. |
| public default FFICIF | getCallInterface()
Implements org. |
| public void | invoke(long
the callback interface _this, long file path where debug message was generated _filePath, short line where debug message was generated _line, long printf style formatvariable arguments list initialized with _argList)va_startWill be called when a debug message is produced. |
| CIF | back to summary |
|---|---|
| public static final FFICIF CIF | |
| callback | back to summary |
|---|---|
| public default void callback(long ret, long args) Implements org. Doc from org. The Java method that will be called from native code when the native callback function is invoked.
| |
| getCallInterface | back to summary |
|---|---|
| public default FFICIF getCallInterface() Implements org. Doc from org. Returns the libffi Call Interface for this callback function. [INTERNAL API] | |
| invoke | back to summary |
|---|---|
| public void invoke(long _this, long _filePath, short _line, long _format, long _argList) Will be called when a debug message is produced.
| |