Kaydet (Commit) ede1faca authored tarafından Colomban Wendling's avatar Colomban Wendling

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.
üst e4ab2805
...@@ -23,9 +23,5 @@ ...@@ -23,9 +23,5 @@
#ifndef GEANY_FUNCTIONS_H #ifndef GEANY_FUNCTIONS_H
#define GEANY_FUNCTIONS_H 1 #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 */ #endif /* GEANY_FUNCTIONS */
...@@ -268,6 +268,11 @@ void plugin_cleanup(void); ...@@ -268,6 +268,11 @@ void plugin_cleanup(void);
/* Deprecated aliases */ /* Deprecated aliases */
#ifndef GEANY_DISABLE_DEPRECATED #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 #define document_reload_file document_reload_force
/** @deprecated - copy into your plugin code if needed. /** @deprecated - copy into your plugin code if needed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment