MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaL_gsub

Function luaL_gsub

third-party/lua-5.5.0/src/lauxlib.c:1039–1046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1037
1038
1039LUALIB_API const char *luaL_gsub (lua_State *L, const char *s,
1040 const char *p, const char *r) {
1041 luaL_Buffer b;
1042 luaL_buffinit(L, &b);
1043 luaL_addgsub(&b, s, p, r);
1044 luaL_pushresult(&b);
1045 return lua_tostring(L, -1);
1046}
1047
1048
1049void *luaL_alloc (void *ud, void *ptr, size_t osize, size_t nsize) {

Callers 3

setprogdirFunction · 0.70
searchpathFunction · 0.70
loadfuncFunction · 0.70

Calls 3

luaL_buffinitFunction · 0.70
luaL_addgsubFunction · 0.70
luaL_pushresultFunction · 0.70

Tested by

no test coverage detected