| 1508 | static void lpbE_encode (lpb_Env *e, const pb_Type *t, int idx); |
| 1509 | |
| 1510 | static 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 | |
| 1516 | static void lpb_useenchooks(lua_State *L, lpb_State *LS, const pb_Type *t) { |
| 1517 | lpb_pushenchooktable(L, LS); |
no test coverage detected