| 716 | } |
| 717 | |
| 718 | skr::SPtr<void> check_sptr(lua_State *L, int index, std::string_view tid) |
| 719 | { |
| 720 | void* p = skr_check_unknown(L, index, tid, "[shared]skr_opaque_t"); |
| 721 | return *(skr::SPtr<void>*)((char*)p + sizeof(void*)); |
| 722 | } |
| 723 | |
| 724 | int push_sobjectptr(lua_State *L, const skr::SObjectPtr<SInterface> &value, std::string_view tid) |
| 725 | { |
no test coverage detected