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 -1
View File
@@ -170,7 +170,8 @@ static int daObjIta_Delete(daObjIta_c* i_this) {
}
static int daObjIta_Create(fopAc_ac_c* i_this) {
fopAcM_RegisterCreateID(daObjIta_c, i_this, "Obj_Ita");
daObjIta_c* a_this = (daObjIta_c*)i_this;
fopAcM_RegisterCreateID(i_this, "Obj_Ita");
return a_this->create();
}