[geany/geany] ede1fa: Move GeanyFunctions declaration back in plugindata.h

Colomban Wendling git-noreply at xxxxx
Fri Apr 10 14:16:19 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 10 Apr 2015 14:16:19 UTC
Commit:      ede1faca54dcd96848047f4cde5fe989e9813e3a
             https://github.com/geany/geany/commit/ede1faca54dcd96848047f4cde5fe989e9813e3a

Log Message:
-----------
Move GeanyFunctions declaration back in plugindata.h

This avoids breaking plugins that don't use geanyplugin.h as they
should but include some random headers.


Modified Paths:
--------------
    plugins/geanyfunctions.h
    src/plugindata.h

Modified: plugins/geanyfunctions.h
4 lines changed, 0 insertions(+), 4 deletions(-)
===================================================================
@@ -23,9 +23,5 @@
 #ifndef GEANY_FUNCTIONS_H
 #define GEANY_FUNCTIONS_H 1
 
-/* This remains so that older plugins that contain a `GeanyFunctions *geany_functions;`
- * variable in their plugin - as was previously required - will still compile
- * without changes.  */
-typedef struct GeanyFunctionsUndefined GeanyFunctions;
 
 #endif /* GEANY_FUNCTIONS */


Modified: src/plugindata.h
5 lines changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -268,6 +268,11 @@ void plugin_cleanup(void);
 /* Deprecated aliases */
 #ifndef GEANY_DISABLE_DEPRECATED
 
+/* This remains so that older plugins that contain a `GeanyFunctions *geany_functions;`
+ * variable in their plugin - as was previously required - will still compile
+ * without changes.  */
+typedef struct GeanyFunctionsUndefined GeanyFunctions;
+
 #define document_reload_file document_reload_force
 
 /** @deprecated - copy into your plugin code if needed.



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list