| 596 | /* protobuf integer conversion */ |
| 597 | |
| 598 | static int Lconv_encode_int32(lua_State *L) { |
| 599 | uint64_t v = pb_expandsig((int32_t)lpb_checkinteger(L, 1)); |
| 600 | return lpb_pushinteger(L, v, 1, lpb_lstate(L)->int64_mode), 1; |
| 601 | } |
| 602 | |
| 603 | static int Lconv_encode_uint32(lua_State *L) { |
| 604 | return lpb_pushinteger(L, (uint32_t)lpb_checkinteger(L, 1), |
nothing calls this directly
no test coverage detected