25 PyModuleDef_HEAD_INIT,
44 if (*registryp == NULL)
62#define GDB_PY_DEFINE_EVENT(name) \
63 if (add_new_registry (&gdb_py_events.name, #name) < 0) \
65#include "py-all-events.def"
66#undef GDB_PY_DEFINE_EVENT
eventregistry_object * create_eventregistry_object(void)
events_object gdb_py_events
PyMODINIT_FUNC gdbpy_events_mod_func()
static struct PyModuleDef EventModuleDef
static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION add_new_registry(eventregistry_object **registryp, const char *name)
int gdb_pymodule_addobject(PyObject *module, const char *name, PyObject *object)
#define CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION