@techee commented on this pull request.


In src/pluginextension.h:

> +#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.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3849/review/2136017722@github.com>