* Automatically wrap enums in the empathy and empathygtk python bindings
From: Mike Sheldon <mike@mikeasoft.com>
svn path=/trunk/; revision=2548
#include <pygobject.h>
void empathy_register_classes (PyObject *d);
+void empathy_add_constants(PyObject *module, const gchar *strip_prefix);
DL_EXPORT(void) initempathy(void);
extern PyMethodDef empathy_functions[];
d = PyModule_GetDict (m);
empathy_register_classes (d);
+ empathy_add_constants(m, "EMPATHY_");
if (PyErr_Occurred ()) {
PyErr_Print();
#include <pygobject.h>
void empathy_register_classes (PyObject *d);
+void empathy_add_constants(PyObject *module, const gchar *strip_prefix);
DL_EXPORT(void) initempathygtk(void);
extern PyMethodDef empathy_functions[];
d = PyModule_GetDict (m);
empathy_register_classes (d);
+ empathy_add_constants(m, "EMPATHY_");
if (PyErr_Occurred ()) {
PyErr_Print();