How can I implement a dynamic dispatch table in C
On systems with gnu linker and compiler or something compatible, it’s possible to put certain objects in different sections. The linker will then generate symbols for the start and end of the section. Using that you can put all your structs into that section in different objects, the linker will consolidate those sections when linking … Read more