MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / pushToLua

Function pushToLua

framework/luaframework.cpp:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void pushToLua(lua_State *L, const UString &v) { lua_pushlstring(L, v.c_str(), v.length()); }
46void pushToLua(lua_State *L, const char *v) { lua_pushstring(L, v); }
47void pushToLua(lua_State *L, bool v) { lua_pushboolean(L, v); }
48void pushToLua(lua_State *L, int v) { lua_pushinteger(L, v); }

Callers 1

pushLuaFrameworkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected