mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-03 06:01:27 +00:00
Update smlua_cobject_map.c (#336)
This commit is contained in:
parent
9bb89067f2
commit
7a9d690305
1 changed files with 4 additions and 4 deletions
|
@ -4,14 +4,14 @@
|
||||||
|
|
||||||
static void* sPointers = NULL;
|
static void* sPointers = NULL;
|
||||||
|
|
||||||
void smlua_pointer_user_data_init(void) {
|
|
||||||
smlua_pointer_user_data_shutdown();
|
|
||||||
}
|
|
||||||
|
|
||||||
void smlua_pointer_user_data_shutdown(void) {
|
void smlua_pointer_user_data_shutdown(void) {
|
||||||
hmap_clear(sPointers);
|
hmap_clear(sPointers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void smlua_pointer_user_data_init(void) {
|
||||||
|
smlua_pointer_user_data_shutdown();
|
||||||
|
}
|
||||||
|
|
||||||
void smlua_pointer_user_data_add(u64 pointer, CObject *obj) {
|
void smlua_pointer_user_data_add(u64 pointer, CObject *obj) {
|
||||||
if (pointer == 0) { return; }
|
if (pointer == 0) { return; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue