Python plugin: Improve error reporting during plugin init
[claws.git] / src / plugins / python / clawsmailmodule.h
index 21846a6d9310f9a13040767a740854917fa4cb1c..1f1056ffc80719a53f582284b433839d507bf3d4 100644 (file)
 
 #include "compose.h"
 
+#ifndef PyMODINIT_FUNC
+# define PyMODINIT_FUNC void
+#endif
 
-void claws_mail_python_init(void);
+PyMODINIT_FUNC initclawsmail(void);
 
 PyObject* get_gobj_from_address(gpointer addr);
 void put_composewindow_into_module(Compose *compose);