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

Function luaopen_utf8

third-party/lua-5.5.0/src/lutf8lib.c:285–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283
284
285LUAMOD_API int luaopen_utf8 (lua_State *L) {
286 luaL_newlib(L, funcs);
287 lua_pushlstring(L, UTF8PATT, sizeof(UTF8PATT)/sizeof(char) - 1);
288 lua_setfield(L, -2, "charpattern");
289 return 1;
290}
291

Callers

nothing calls this directly

Calls 2

lua_pushlstringFunction · 0.70
lua_setfieldFunction · 0.70

Tested by

no test coverage detected