aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-03-11 21:53:14 +0100
committercbdev <cb@cbcdn.com>2020-03-11 21:53:14 +0100
commitabb1ffd367f4046d77ac62b0b017b407997bc43b (patch)
tree341dd9375982db89708db30863e8cac088e2b3cc /midimonster.h
parent678cc465124ad81dcec47c44cc30827e5246bd3b (diff)
downloadmidimonster-abb1ffd367f4046d77ac62b0b017b407997bc43b.tar.gz
midimonster-abb1ffd367f4046d77ac62b0b017b407997bc43b.tar.bz2
midimonster-abb1ffd367f4046d77ac62b0b017b407997bc43b.zip
Add codesmell statistics to CI
Diffstat (limited to 'midimonster.h')
-rw-r--r--midimonster.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/midimonster.h b/midimonster.h
index bad83c7..dc0e255 100644
--- a/midimonster.h
+++ b/midimonster.h
@@ -234,10 +234,12 @@ MM_API instance* mm_instance_find(char* backend, uint64_t ident);
* matching `ident`, a pointer to it is returned.
* This API is just a convenience function. The array of channels is
* only used for mapping internally, creating and managing your own
- * channel store is possible.
+ * channel store is possible. When returning pointers from a
+ * backend-local channel store, the returned pointers must stay
+ * valid over the lifetime of the instance.
* For each channel with a non-NULL `impl` field registered using
* this function, the backend will receive a call to its channel_free
- * function.
+ * function (if it exists).
*/
MM_API channel* mm_channel(instance* i, uint64_t ident, uint8_t create);