@techee commented on this pull request.
+#include "document.h"
+ + +G_BEGIN_DECLS + +/** + * Structure serving as an interface between plugins and Geany allowing + * plugins inform Geany about what features they provide and allowing + * Geany to delegate its functionality to the plugins. + * + * Plugins should allocate this structure on the heap - either statically, + * or dynamically. When allocated dynamically, plugins should always + * zero-fill the structure before use. + * + * Depending on the functionality they provide, plugins should assign the + * pointers from the structure to the functions implementing this interface.
Nothing terrible like crash will happen, but the particular feature just won't work - I think anyone who makes this mistake will realize it soon.