MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / mp_encode_lua_null

Function mp_encode_lua_null

deps/lua/src/lua_cmsgpack.c:475–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475void mp_encode_lua_null(lua_State *L, mp_buf *buf) {
476 unsigned char b[1];
477
478 b[0] = 0xc0;
479 mp_buf_append(L,buf,b,1);
480}
481
482void mp_encode_lua_type(lua_State *L, mp_buf *buf, int level) {
483 int t = lua_type(L,-1);

Callers 1

mp_encode_lua_typeFunction · 0.85

Calls 1

mp_buf_appendFunction · 0.85

Tested by

no test coverage detected