MCPcopy Create free account
hub / github.com/The-Powder-Toy/The-Powder-Toy / tpt_lua_pushByteString

Function tpt_lua_pushByteString

src/lua/LuaScriptInterface.cpp:809–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807LuaScriptInterface::~LuaScriptInterface() = default;
808
809void tpt_lua_pushByteString(lua_State *L, const ByteString &str)
810{
811 lua_pushlstring(L, str.data(), str.size());
812}
813
814void tpt_lua_pushString(lua_State *L, const String &str)
815{

Callers 15

compressFunction · 0.85
decompressFunction · 0.85
LuaGetPropertyFunction · 0.85
tpt_lua_pushStringFunction · 0.85
platformFunction · 0.85
identFunction · 0.85
releaseTypeFunction · 0.85
exeNameFunction · 0.85
clipboardCopyFunction · 0.85
activeToolFunction · 0.85
getDefaultPropertiesFunction · 0.85
setDefaultPropertiesFunction · 0.85

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected