Out of curiosity, what's the advantage of having this in the private structure by value, and then again in the public structure by pointer? Same for the PluginInfo struct. After making a few plugins using the new API I'm always wondering why I can't write this:

plugin->info.name = "foo";
...
plugin->funcs.init = foo_init;

Is there a technical reason for the extra indirection which I don't see?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.