MCPcopy Create free account
hub / github.com/defold/defold / LuaCallbackCustomArgs

Function LuaCallbackCustomArgs

engine/script/src/test/test_script_lua.cpp:682–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680};
681
682static void LuaCallbackCustomArgs(lua_State* L, void* user_args)
683{
684 CallbackArgs* args = (CallbackArgs*)user_args;
685 dmScript::PushHash(L, args->a);
686 lua_pushnumber(L, args->b);
687}
688
689
690static int CreateAndPushInstance(lua_State* L)

Callers

nothing calls this directly

Calls 2

PushHashFunction · 0.85
lua_pushnumberFunction · 0.85

Tested by

no test coverage detected