static int lua__uniq_gc(lua_State *L) { struct handlemap * h = CHECK_UNIQ(L, 1); handlemap_exit(h); UNIQ_DLOG("release handlemap"); return 0; }
int main() { struct handlemap * m = handlemap_init(); test(m); handlemap_exit(m); return 0; }