| 1286 | } |
| 1287 | |
| 1288 | static 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 | |
| 1296 | static int Lpb_field(lua_State *L) { |
| 1297 | lpb_State *LS = lpb_lstate(L); |
nothing calls this directly
no test coverage detected