aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/python.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-03-18 22:36:35 +0100
committercbdev <cb@cbcdn.com>2020-03-18 22:36:35 +0100
commit9718e10c7f4151cea895f515c785c14e0021d967 (patch)
treee6f4b069b91d627e8a46c6b31bcf93197102aa2b /backends/python.h
parentdaf9ac5b883cf981a163654d58932bfbdce619d9 (diff)
downloadmidimonster-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.h3
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;