first attempt in implementing full OO
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-02 14:59:27 +09:00
parent 4afb064530
commit def1e7349c
3 changed files with 673 additions and 14 deletions

View File

@ -431,6 +431,9 @@ hcl_oop_t hcl_makeclass (hcl_t* hcl, hcl_oop_t superclass, hcl_ooi_t nivars, hcl
c->nivars_super = HCL_SMOOI_TO_OOP(0);
}
/* TODO: remember ivars_str and vars_str? */
/* duplicate ivars_str and cvars_str and set it to c->ivarnames and c->cvarnames???? */
return (hcl_oop_t)c;
}