CACAO
Static Public Member Functions
NativeStub Class Reference

Class for native stub generation. More...

Static Public Member Functions

static codeinfogenerate (methodinfo *m, functionptr f)
 Wrapper for codegen_emit_stub_native. More...
 
static void remove (void *stub)
 Free a native stub from memory. More...
 

Detailed Description

Class for native stub generation.

Definition at line 66 of file stubs.hpp.

Member Function Documentation

codeinfo * NativeStub::generate ( methodinfo m,
functionptr  f 
)
static

Wrapper for codegen_emit_stub_native.

Parameters
mMethod object of the native function.
fNative function pointer.
Returns
The codeinfo representing the stub code.

Definition at line 282 of file stubs.cpp.

void NativeStub::remove ( void stub)
static

Free a native stub from memory.

Parameters
stubPointer to stub memory.

Definition at line 413 of file stubs.cpp.


The documentation for this class was generated from the following files: