Python plugin: Improve error reporting during plugin init
[claws.git] / src / plugins / python / nodetype.h
index cb437e6789f2c912ad5af60c250531c7137e105b..03daa314f447dd887f52d3ecf5d9152162898b40 100644 (file)
 #ifndef NODETYPE_H
 #define NODETYPE_H
 
 #ifndef NODETYPE_H
 #define NODETYPE_H
 
+#include <glib.h>
+
 #include <Python.h>
 
 #include <Python.h>
 
-#ifndef PyMODINIT_FUNC  /* declarations for DLL import/export */
-#define PyMODINIT_FUNC void
-#endif
 
 
-PyMODINIT_FUNC initnode(PyObject *module);
+gboolean cmpy_add_node(PyObject *module);
 
 PyObject* clawsmail_node_new(PyObject *module);
 
 
 PyObject* clawsmail_node_new(PyObject *module);