1
/* -*- Mode: C; c-basic-offset: 4 -*- */
7
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
10
#include "gconf-types.h"
12
void pygconf_register_classes (PyObject *d);
13
void pygconf_add_constants(PyObject *module, const gchar *strip_prefix);
15
extern PyMethodDef pygconf_functions[];
16
extern PyTypeObject PyGConfEngine_Type;
25
m = Py_InitModule ("gconf", pygconf_functions);
26
d = PyModule_GetDict (m);
28
pygconf_register_classes (d);
29
pygconf_add_constants (m, "GCONF_");
30
pygconf_register_engine_type (m);
32
PyModule_AddObject(m, "Engine", (PyObject *) &PyGConfEngine_Type);