Commit Graph

6 Commits

Author SHA1 Message Date
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 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 05ec305a04 refactor: minor example tweaks
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-25 18:04:16 +02:00
Christopher Arndt 08c199d5b3 refactor: shorten type names
TypeT -> Type; TypeTPtr -> TypeP

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-05-22 05:13:31 +02:00
Christopher Arndt c8ddbb2cf2 Minor typo and whitespace fixes 2023-05-22 04:00:07 +02:00
Christopher Arndt bffc611cdd refactor: more example tweaking and rename all to have 'jacket_' prefix
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2022-10-10 20:35:00 +02:00