MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / pushNamedString

Function pushNamedString

src/bzflag/HubLua.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82//
83
84static void pushNamedString(lua_State* L, const char* key,
85 const char* value) {
86 lua_pushstring(L, key);
87 lua_pushstring(L, value);
88 lua_rawset(L, -3);
89}
90
91
92static void pushNamedInt(lua_State* L, const char* key, int value) {

Callers 1

pushAnsiCodesMethod · 0.85

Calls 2

lua_pushstringFunction · 0.50
lua_rawsetFunction · 0.50

Tested by

no test coverage detected