1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef _PYSIGNALS_H_ #define _PYSIGNALS_H_ #include <Python.h> typedef struct { char *name; PyObject *handler; } PY_COMMAND_REC; void py_command_bind(const char *category, PY_COMMAND_REC *crec); void py_command_unbind(PY_COMMAND_REC *crec); #endif