1 /* -*- Mode: C; c-basic-offset: 4 -*- */
9 /* include any extra headers needed here */
11 void pyges_register_classes (PyObject * d);
12 extern PyMethodDef pyges_functions[];
21 /* perform any initialisation required by the library here */
23 m = Py_InitModule ("ges", pyges_functions);
24 d = PyModule_GetDict (m);
28 pyges_register_classes (d);
30 /* add anything else to the module dictionary (such as constants) */
32 if (PyErr_Occurred ())
33 Py_FatalError ("could not initialise module ges");