Christopher Arndt
3915638e73
feat: stream-line API and fix minor wrapping errors ( #1 )
...
* Rename types:
* `ptr` types have no suffix (e.g. `ClientP` -> `Client`)
* normal object types hyve a `T` suffix, if needed (e.g. `Port` -> `PortT`)
* Constants also use CamelCase (UPPER_CASE can still be used).
* Make functions returning an error discardable
* Add missing return types for some functions.
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2025-01-20 02:16:38 +01:00
Christopher Arndt
03d7471656
fix: remove superfluous import and global var
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-05-15 00:01:00 +02:00
Christopher Arndt
9645542176
feat: implement converters for enums
...
Allows to pass enum values directly for cint/culong params
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-05-14 23:47:13 +02:00
Christopher Arndt
f0c036c686
fix: log message levels in examples
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-07 15:56:31 +02:00
Christopher Arndt
aadbd26fab
fix: hex number formatting width
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-06 04:27:52 +02:00
Christopher Arndt
61b0405f3e
feat: make callback functions user arg optional
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-06-06 02:40:02 +02:00
Christopher Arndt
f3a6b660d6
feat: add MIDI receiver example showing use of threading/channels
...
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-27 16:22:06 +02:00