chore: reduce debt with const values
This commit is contained in:
+4
-2
@@ -4,8 +4,10 @@
|
||||
#define MIDI_H
|
||||
|
||||
void midi_open(MidiDevice *device, const char *name);
|
||||
void midi_write(MidiDevice *device, unsigned char code, unsigned char value);
|
||||
bool midi_background_listen(MidiDevice *device, SharedContext *context,
|
||||
void midi_write(const MidiDevice *device, unsigned char code,
|
||||
unsigned char value);
|
||||
bool midi_background_listen(const MidiDevice *device,
|
||||
const SharedContext *context,
|
||||
void (*event_callback)(unsigned char code,
|
||||
unsigned char value));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user