diff options
author | cbdev <cb@cbcdn.com> | 2020-03-18 22:36:35 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-03-18 22:36:35 +0100 |
commit | 9718e10c7f4151cea895f515c785c14e0021d967 (patch) | |
tree | e6f4b069b91d627e8a46c6b31bcf93197102aa2b /backends/python.h | |
parent | daf9ac5b883cf981a163654d58932bfbdce619d9 (diff) | |
download | midimonster-9718e10c7f4151cea895f515c785c14e0021d967.tar.gz midimonster-9718e10c7f4151cea895f515c785c14e0021d967.tar.bz2 midimonster-9718e10c7f4151cea895f515c785c14e0021d967.zip |
Implement default channel handlers for Lua/Python
Diffstat (limited to 'backends/python.h')
-rw-r--r-- | backends/python.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/python.h b/backends/python.h index 8ca12f9..a40098b 100644 --- a/backends/python.h +++ b/backends/python.h @@ -41,4 +41,7 @@ typedef struct /*_python_instance_data*/ { size_t channels; mmpython_channel* channel; mmpython_channel* current_channel; + + char* default_handler; + PyObject* handler; } python_instance_data; |