item
This commit is contained in:
@@ -37,6 +37,19 @@ void scriptContextRegFunc(
|
||||
lua_CFunction function
|
||||
);
|
||||
|
||||
/**
|
||||
* Register a pointer within a script context.
|
||||
*
|
||||
* @param context The script context to use.
|
||||
* @param name The name of the pointer in Lua.
|
||||
* @param pointer The pointer to register.
|
||||
*/
|
||||
void scriptContextRegPointer(
|
||||
scriptcontext_t *context,
|
||||
const char_t *name,
|
||||
void *pointer
|
||||
);
|
||||
|
||||
/**
|
||||
* Call a Lua function within a script context.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user