MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / utf8esc

Function utf8esc

src/Chain/libraries/glua/llex.cpp:379–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377
378
379static void utf8esc(LexState *ls) {
380 char buff[UTF8BUFFSZ];
381 int n = luaO_utf8esc(buff, readutf8esc(ls));
382 for (; n > 0; n--) /* add 'buff' to string */
383 save(ls, buff[UTF8BUFFSZ - n]);
384}
385
386
387static int readdecesc(LexState *ls) {

Callers 1

read_stringFunction · 0.85

Calls 3

luaO_utf8escFunction · 0.85
readutf8escFunction · 0.85
saveFunction · 0.70

Tested by

no test coverage detected