fopAcM_Register cleanup (#3047)

* use macro `fopAcM_Register` more consistently

* replace fopAcM_RegisterCreateID with version that doesn't create `a_this`
This commit is contained in:
roeming
2026-01-17 08:52:32 -05:00
committed by GitHub
parent 740387eb4f
commit d45b10d0fd
101 changed files with 184 additions and 200 deletions
+2 -2
View File
@@ -243,7 +243,7 @@ int daHoZelda_c::create() {
static int daHoZelda_Create(fopAc_ac_c* i_this) {
daHoZelda_c* a_this = (daHoZelda_c*)i_this;
fpc_ProcID id = fopAcM_GetID(i_this);
fopAcM_RegisterCreateID(i_this, "HOZELDA");
return a_this->create();
}
@@ -269,7 +269,7 @@ daHoZelda_c::~daHoZelda_c() {
}
static int daHoZelda_Delete(daHoZelda_c* i_this) {
fpc_ProcID id = fopAcM_GetID(i_this);
fopAcM_RegisterDeleteID(i_this, "HOZELDA");
i_this->~daHoZelda_c();
return 1;
}