| 1724 | static int lpbD_message(lpb_Env *e, const pb_Type *t); |
| 1725 | |
| 1726 | static void lpb_usedechooks(lua_State *L, lpb_State *LS, const pb_Type *t) { |
| 1727 | lpb_pushdechooktable(L, LS); |
| 1728 | if (lua53_rawgetp(L, -1, t) != LUA_TNIL) { |
| 1729 | lua_pushvalue(L, -3); |
| 1730 | lua_call(L, 1, 1); |
| 1731 | if (!lua_isnil(L, -1)) { |
| 1732 | lua_pushvalue(L, -1); |
| 1733 | lua_replace(L, -4); |
| 1734 | } |
| 1735 | } |
| 1736 | lua_pop(L, 2); |
| 1737 | } |
| 1738 | |
| 1739 | static void lpb_pushtypetable(lua_State *L, lpb_State *LS, const pb_Type *t) { |
| 1740 | int mode = LS->encode_mode; |
no test coverage detected