MCPcopy Create free account
hub / github.com/Tencent/UnLua / Lconv_encode_sint32

Function Lconv_encode_sint32

Plugins/UnLuaExtensions/LuaProtobuf/Source/src/pb.cpp:608–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606}
607
608static int Lconv_encode_sint32(lua_State *L) {
609 return lpb_pushinteger(L, pb_encode_sint32((int32_t)lpb_checkinteger(L, 1)),
610 1, lpb_lstate(L)->int64_mode), 1;
611}
612
613static int Lconv_decode_sint32(lua_State *L) {
614 return lpb_pushinteger(L, pb_decode_sint32((uint32_t)lpb_checkinteger(L, 1)),

Callers

nothing calls this directly

Calls 4

lpb_pushintegerFunction · 0.85
pb_encode_sint32Function · 0.85
lpb_checkintegerFunction · 0.85
lpb_lstateFunction · 0.85

Tested by

no test coverage detected