[geany/geany] aa0642: Merge branch 'plugin-symbols-protoypes'

Colomban Wendling git-noreply at xxxxx
Sat Nov 8 23:19:14 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 08 Nov 2014 23:19:14 UTC
Commit:      aa06427c71ef337f0a80e8d3eb001771a226fece
             https://github.com/geany/geany/commit/aa06427c71ef337f0a80e8d3eb001771a226fece

Log Message:
-----------
Merge branch 'plugin-symbols-protoypes'


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

Modified: src/plugindata.h
26 lines changed, 17 insertions(+), 9 deletions(-)
===================================================================
@@ -157,15 +157,6 @@ GeanyPlugin;
 	}
 
 
-#ifndef GEANY_PRIVATE
-
-/* Prototypes for building plugins with -Wmissing-prototypes */
-gint plugin_version_check(gint abi_ver);
-void plugin_set_info(PluginInfo *info);
-
-#endif
-
-
 /** @deprecated - use plugin_set_key_group() instead.
  * @see PLUGIN_KEY_GROUP() macro. */
 typedef struct GeanyKeyGroupInfo
@@ -258,6 +249,23 @@ GeanyData;
 #define geany			geany_data	/**< Simple macro for @c geany_data that reduces typing. */
 
 
+#ifndef GEANY_PRIVATE
+
+/* Prototypes for building plugins with -Wmissing-prototypes
+ * Also allows the compiler to check if the signature of the plugin's
+ * symbol properly matches what we expect. */
+gint plugin_version_check(gint abi_ver);
+void plugin_set_info(PluginInfo *info);
+
+void plugin_init(GeanyData *data);
+GtkWidget *plugin_configure(GtkDialog *dialog);
+void plugin_configure_single(GtkWidget *parent);
+void plugin_help(void);
+void plugin_cleanup(void);
+
+#endif
+
+
 /** This contains pointers to functions owned by Geany for plugins to use.
  * Functions from the core can be appended when needed by plugin authors, but may
  * require some changes. */



--------------
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