MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / script_export_callback_int

Function script_export_callback_int

Engine/source/cinterface/c_scripting.cpp:375–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373 }
374
375 void script_export_callback_int(IntCallback cb, const char *nameSpace, const char *funcName, const char* usage, S32 minArgs, S32 maxArgs)
376 {
377 if (!nameSpace || !dStrlen(nameSpace))
378 Con::addCommand(funcName, cb, usage, minArgs + 1, maxArgs + 1);
379 else
380 Con::addCommand(nameSpace, funcName, cb, usage, minArgs + 1, maxArgs + 1);
381 }
382
383 void script_export_callback_float(FloatCallback cb, const char *nameSpace, const char *funcName, const char* usage, S32 minArgs, S32 maxArgs)
384 {

Callers

nothing calls this directly

Calls 2

addCommandFunction · 0.85
dStrlenFunction · 0.50

Tested by

no test coverage detected