MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / utf8esc

Function utf8esc

libraries/AP_Scripting/lua/src/llex.c:347–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345
346
347static void utf8esc (LexState *ls) {
348 char buff[UTF8BUFFSZ];
349 int n = luaO_utf8esc(buff, readutf8esc(ls));
350 for (; n > 0; n--) /* add 'buff' to string */
351 save(ls, buff[UTF8BUFFSZ - n]);
352}
353
354
355static int readdecesc (LexState *ls) {

Callers 1

read_stringFunction · 0.85

Calls 3

luaO_utf8escFunction · 0.85
readutf8escFunction · 0.85
saveFunction · 0.85

Tested by

no test coverage detected