Re:Actually Portable Executables
by edgyquant on Sunday February 28, 2021 @12:43PM
(#26295179)
I assume object oriented C means using structs and function pointers?
[ Parent
| on HN ]
Re:Actually Portable Executables
by CodeArtisan on Sunday February 28, 2021 @04:21PM
(#26297181)
No. For 21st Century C, an "object" is an incomplete type and procedures.
struct Object;
void Object_init(struct Object *o);
That's ADT.