#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include Pycairo_CAPI_t *Pycairo_CAPI; void pyswfdecgtk_register_classes (PyObject *d); extern PyMethodDef pyswfdecgtk_functions[]; DL_EXPORT (void) initui (void) { PyObject *m, *d, *test; m = Py_InitModule ("swfdec.ui", pyswfdecgtk_functions); d = PyModule_GetDict (m); init_pygobject (); init_pygtk (); pyswfdecgtk_register_classes (d); PyModule_AddObject(m, "pyswfdecgtk_version", Py_BuildValue("i", 1)); if (PyErr_Occurred ()) Py_FatalError ("can't initialise module swfdec"); }