MCPcopy Create free account
hub / github.com/axmolengine/axmol / pushString

Method pushString

extensions/scripting/lua-bindings/manual/LuaStack.cpp:366–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366void LuaStack::pushString(std::string_view stringValue)
367{
368 lua_pushlstring(_state, stringValue.data(), stringValue.length());
369}
370
371void LuaStack::pushString(const char* stringValue, int length)
372{

Callers 11

executeEventMethod · 0.80
parseConfigMethod · 0.80
handleNodeEventMethod · 0.80
handleKeypadEventMethod · 0.80
handleCommonEventMethod · 0.80
handleTouchEventMethod · 0.80
handleTouchesEventMethod · 0.80
handleArmatureWrapperMethod · 0.80
onMessageMethod · 0.80
setCustomPropsMethod · 0.80

Calls 3

lua_pushlstringFunction · 0.85
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected