| 270 | } |
| 271 | |
| 272 | static bool is_null(lua_State *state, int val_index) |
| 273 | { |
| 274 | return lua_isnil(state, val_index) || |
| 275 | (lua_islightuserdata(state, val_index) && |
| 276 | !lua_touserdata(state, val_index)); |
| 277 | } |
| 278 | |
| 279 | void df::pointer_identity::lua_write(lua_State *state, int fname_idx, void *ptr, |
| 280 | const type_identity *target, int val_index) |
no test coverage detected