3 ms·
I'm not sure how common it is in practice. CPython and GTK are the most popular examples of OOP in C that I can think of. It's pretty pointless unless you want
by pipeline_peak 5y ago
I'm not sure how common it is in practice. CPython and GTK are the most popular examples of OOP in C that I can think of.
It's pretty pointless unless you want some sort of namespace-like organization. Maybe for polymorphism because you can change an instance's "base" member function pointer.