Closed SamuraiCrow closed 12 months ago
When I started looking at interface inheritance for the framework, I was mainly looking for a way to inherit a getter method from either setNode or hashNode so the single element required by either wouldn't be mutually exclusive due to the single-inheritance rule.
I'm experimenting with a new version of the hash node class that embeds pointers to the key and value structures in the hash node structure to avoid inheritance. If successful, the need for direct inheritance of the node by the value becomes unnecessary and with it, the need for interface inheritance goes away.
A minimal test code reveals that function pointers work on both EEC/ECX and EVO so my unstated suppositions about that potential bug were false.
Hash is now working with new flat-hash version without as much inheritance. Case closed.
https://github.com/EEC-Developers/eec/issues/15 affects the framework as well because interfaces are not included in the kernels of AmigaOS 3.x and earlier and MorphOS.