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

Function Lpb_type

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

Source from the content-addressed store, hash-verified

1286}
1287
1288static int Lpb_type(lua_State *L) {
1289 lpb_State *LS = lpb_lstate(L);
1290 const pb_Type *t = lpb_type(LS, lpb_checkslice(L, 1));
1291 if (t == NULL || t->is_dead)
1292 return 0;
1293 return lpb_pushtype(L, t);
1294}
1295
1296static int Lpb_field(lua_State *L) {
1297 lpb_State *LS = lpb_lstate(L);

Callers

nothing calls this directly

Calls 4

lpb_lstateFunction · 0.85
lpb_typeFunction · 0.85
lpb_checksliceFunction · 0.85
lpb_pushtypeFunction · 0.85

Tested by

no test coverage detected