1 #define NO_IMPORT_PYGOBJECT
5 void empathy_register_classes (PyObject *d);
6 void empathy_add_constants(PyObject *module, const gchar *strip_prefix);
7 DL_EXPORT(void) initempathy(void);
8 extern PyMethodDef empathy_functions[];
17 m = Py_InitModule ("empathy", empathy_functions);
18 d = PyModule_GetDict (m);
20 empathy_register_classes (d);
21 empathy_add_constants(m, "EMPATHY_");
23 if (PyErr_Occurred ()) {
25 Py_FatalError ("can't initialise module empathy");