Kiwi Engine
VM for interpreter
|
Define KEBuiltinFunc class. More...
Go to the source code of this file.
Data Structures | |
struct | KEBuiltinFuncCallbacks |
Methods for built-in functions. More... | |
struct | KEBuiltinFunc |
Typedefs | |
typedef const char *(* | KEGetNameOfBuiltinFunc )(void) |
typedef CNBoolean(* | KEExecBuiltinFuncRef )(struct KEException *excep, struct KEValueTable *retvals, struct KEValueTable *params) |
Functions | |
struct KEBuiltinFunc * | KEAllocateBuiltinFunc (const struct KEBuiltinFuncCallbacks *callbacks, struct CNResource *resource) |
Alloxate Built-in function object. More... | |
void | KEDumpBuiltinFunc (struct CNText *outbuf, struct KEBuiltinFunc *src) |
Dump context of the built-in function. More... | |
Define KEBuiltinFunc class.
typedef CNBoolean(* KEExecBuiltinFuncRef)(struct KEException *excep, struct KEValueTable *retvals, struct KEValueTable *params) |
Type of body of built-in function
typedef const char*(* KEGetNameOfBuiltinFunc)(void) |
Type of the function to get the built-in function name
struct KEBuiltinFunc* KEAllocateBuiltinFunc | ( | const struct KEBuiltinFuncCallbacks * | callbacks, |
struct CNResource * | resource | ||
) |
Alloxate Built-in function object.
callbacks | Callback functions for this instruction |
resource | Resource to allocate the object |
void KEDumpBuiltinFunc | ( | struct CNText * | outbuf, |
struct KEBuiltinFunc * | src | ||
) |
Dump context of the built-in function.
outbuf | Output buffer |
src | Source built-in function |