summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/pychrysa.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/pychrysa.h')
-rw-r--r--plugins/pychrysalide/pychrysa.h52
1 files changed, 3 insertions, 49 deletions
diff --git a/plugins/pychrysalide/pychrysa.h b/plugins/pychrysalide/pychrysa.h
index ef5c545..da9913b 100644
--- a/plugins/pychrysalide/pychrysa.h
+++ b/plugins/pychrysalide/pychrysa.h
@@ -21,8 +21,8 @@
*/
-#ifndef _PLUGINS_PYCHRYSALIDE_H
-#define _PLUGINS_PYCHRYSALIDE_H
+#ifndef _PLUGINS_PYCHRYSALIDE_PYCHRYSA_H
+#define _PLUGINS_PYCHRYSALIDE_PYCHRYSA_H
/**
@@ -35,52 +35,6 @@
#include <Python.h>
-
-
-
-
-#if 0
-
-
-#include <glib-object.h>
-#include <stdbool.h>
-
-
-#include "plugin.h"
-
-
-
-/* Précise le nom associé au greffon. */
-char *get_plugin_name(void);
-
-/* Initialise le greffon permettant l'usage de Python. */
-bool init_plugin(GPluginModule *, GObject *);
-
-/* Libère le greffon permettant l'usage de Python. */
-void exit_plugin(GPluginModule *);
-
-/* Indique les opérations offertes par un greffon donné. */
-PluginAction get_plugin_action(const GPluginModule *);
-
-
-#if PY_VERSION_HEX >= 0x03000000
-
-/* Point d'entrée pour l'initialisation de Python. */
-//PyMODINIT_FUNC PyInit_pychrysa(void);
-PyMODINIT_FUNC initpychrysa(void);
-
-#else
-
-/* Point d'entrée pour l'initialisation de Python. */
-PyMODINIT_FUNC initpychrysa(void);
-
-#endif
-
-#endif
-
-
-
-
#include <plugins/plugin.h>
@@ -99,4 +53,4 @@ PyThreadState *get_pychrysalide_main_tstate(void);
-#endif /* _PLUGINS_PYCHRYSALIDE_H */
+#endif /* _PLUGINS_PYCHRYSALIDE_PYCHRYSA_H */