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

Function Lpb_field

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

Source from the content-addressed store, hash-verified

1294}
1295
1296static int Lpb_field(lua_State *L) {
1297 lpb_State *LS = lpb_lstate(L);
1298 const pb_Type *t = lpb_type(LS, lpb_checkslice(L, 1));
1299 return lpb_pushfield(L, t, lpb_field(L, 2, t));
1300}
1301
1302static int Lpb_enum(lua_State *L) {
1303 lpb_State *LS = lpb_lstate(L);

Callers

nothing calls this directly

Calls 5

lpb_lstateFunction · 0.85
lpb_typeFunction · 0.85
lpb_checksliceFunction · 0.85
lpb_pushfieldFunction · 0.85
lpb_fieldFunction · 0.85

Tested by

no test coverage detected