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:

```c
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 or view it on GitHub:
https://github.com/geany/geany/commit/75827c69c0ba5c1b01cd0992fc6ef6354a9b0c38#commitcomment-18894349

Reply via email to