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

Function lpb_checktable

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

Source from the content-addressed store, hash-verified

1508static void lpbE_encode (lpb_Env *e, const pb_Type *t, int idx);
1509
1510static void lpb_checktable(lua_State *L, const pb_Field *f, int idx) {
1511 argcheck(L, lua_istable(L, idx),
1512 2, "table expected at field '%s', got %s",
1513 (const char*)f->name, luaL_typename(L, idx));
1514}
1515
1516static void lpb_useenchooks(lua_State *L, lpb_State *LS, const pb_Type *t) {
1517 lpb_pushenchooktable(L, LS);

Callers 3

lpbE_fieldFunction · 0.85
lpbE_mapFunction · 0.85
lpbE_repeatedFunction · 0.85

Calls 1

argcheckFunction · 0.85

Tested by

no test coverage detected