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

Function Lconv_decode_float

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

Source from the content-addressed store, hash-verified

631}
632
633static int Lconv_decode_float(lua_State *L) {
634 return lua_pushnumber(L,
635 pb_decode_float((uint32_t)lpb_checkinteger(L, 1))), 1;
636}
637
638static int Lconv_encode_double(lua_State *L) {
639 return lpb_pushinteger(L, pb_encode_double(luaL_checknumber(L, 1)),

Callers

nothing calls this directly

Calls 3

lua_pushnumberFunction · 0.85
pb_decode_floatFunction · 0.85
lpb_checkintegerFunction · 0.85

Tested by

no test coverage detected