| 319 | } |
| 320 | |
| 321 | bool luabind::detail::is_class_rep(lua_State* L, int index) |
| 322 | { |
| 323 | if (!lua_getmetatable(L, index)) |
| 324 | return false; |
| 325 | |
| 326 | lua_rawgetp(L, -1, &classrep_tag); |
| 327 | detail::stack_pop pop(L, 2); |
| 328 | return !lua_isnil(L, -1); |
| 329 | } |
| 330 | |
| 331 | void luabind::detail::finalize(lua_State* L, class_rep* crep) |
| 332 | { |
nothing calls this directly
no test coverage detected