diff options
Diffstat (limited to 'pysignals.h')
-rw-r--r-- | pysignals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pysignals.h b/pysignals.h index f9ace24..a069482 100644 --- a/pysignals.h +++ b/pysignals.h @@ -8,8 +8,9 @@ struct _PY_SIGNAL_SPEC_REC; typedef struct _PY_SIGNAL_REC { struct _PY_SIGNAL_SPEC_REC *signal; - char *command; /* NULL if this is signal */ + char *command; /* used for command and variable signal */ PyObject *handler; + int is_signal; } PY_SIGNAL_REC; PY_SIGNAL_REC *pysignals_command_bind(const char *cmd, PyObject *func, |