MCPcopy Create free account
hub / github.com/danomatika/ofxLua / SWIG_Lua_SetModule

Function SWIG_Lua_SetModule

src/bindings/glmBindings.cpp:1097–1103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095}
1096
1097SWIGRUNTIME void
1098SWIG_Lua_SetModule(lua_State *L, swig_module_info *module) {
1099 /* add this all into the Lua registry: */
1100 lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1101 lua_pushlightuserdata(L,(void*)module);
1102 lua_rawset(L,LUA_REGISTRYINDEX);
1103}
1104
1105/* -----------------------------------------------------------------------------
1106 * global variable support code: modules

Callers

nothing calls this directly

Calls 3

lua_pushstringFunction · 0.85
lua_pushlightuserdataFunction · 0.85
lua_rawsetFunction · 0.85

Tested by

no test coverage detected