FANDOM



Description

Get a lua_CFunction function pointer from the call table.

lua_CFunction DXScriptFunction::getFromCallTable(const char *_identifier)

Parameters

Type Name Description
const char* _identifier The identifier of the script to be retrieved.


Returns

A valid lua_CFunction pointer on success, NULL on failure.

Example

DXScript *dxscr = new DXScript();
DXScriptFunction *dxscrf = new DXScriptFunction(dxscr);
dxscr->addCFunction("callC", dxscrf->getFromCallTable("callC"));

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.