Commit graph

33 commits

Author SHA1 Message Date
Vinzenz Schroeter 04cda144ed add ValueGrid::wrap and CharGrid::wrap_str, more examples
add examples
2025-01-12 15:22:54 +01:00
Vinzenz Schroeter 2f2160f246 expose CharGrid to C API 2025-01-12 15:22:54 +01:00
Vinzenz Schroeter 38316169e9 update dependencies and flake
update dependencies
2025-01-12 15:22:54 +01:00
Vinzenz Schroeter f8f5dd0d4f add fake connection to C API 2024-11-13 19:59:55 +01:00
Vinzenz Schroeter eed6d114fc regenerate C header 2024-11-13 18:36:59 +01:00
Vinzenz Schroeter 97a994fca2 do not name struct in C api 2024-10-16 18:34:21 +02:00
Vinzenz Schroeter 16a0afe08d add constants for brightness in C api 2024-10-16 18:29:36 +02:00
Vinzenz Schroeter c6450d7759 rename sp_bit_vec_* to sp_bitvec_* 2024-10-15 21:55:05 +02:00
Vinzenz Schroeter fbc8cd6c31 rename sp_bit_vec_* to sp_bitvec_* 2024-10-15 21:50:43 +02:00
Vinzenz Schroeter bd0ecd77d2 rename PixelGrid to Bitmap 2024-10-15 21:37:36 +02:00
Vinzenz Schroeter f64ce6e57e regenerate language bindings 2024-10-14 22:28:41 +02:00
Vinzenz Schroeter 68d809c714 prefix enum names for better C consumption 2024-10-13 17:36:32 +02:00
Vinzenz Schroeter 4dfb405792 update dependencies 2024-10-11 21:42:26 +02:00
Vinzenz Schroeter d3e135e508 add optimization to suppress gcc warning about not being able to apply hardening 2024-10-10 22:07:55 +02:00
Vinzenz Schroeter e46391ca5f replace usages of 'this' as parameter name 2024-09-07 15:14:29 +02:00
Vinzenz Schroeter c712b037d0 improve which doc line is the first because this one is displayed in docs in the overview 2024-09-07 14:50:59 +02:00
Vinzenz Schroeter acc35b6727 add ability to send commands directly in C code, annotate which functions may return null 2024-09-07 14:35:16 +02:00
Vinzenz Schroeter 53f05efb3d re-enable sorting because otherwise the order is different on my other machine 2024-09-07 14:19:18 +02:00
Vinzenz Schroeter aa359cc807 rename _dealloc to _free 2024-09-07 14:11:15 +02:00
Vinzenz Schroeter 341c0ef2cd change cbindgen sorting to None 2024-09-07 13:25:35 +02:00
Vinzenz Schroeter eddeb2ea2d re-export everything from top-level for nicer docs 2024-09-07 12:23:32 +02:00
Vinzenz Schroeter e97418b51b named fields instead of tuple for Packet, doc adjustments 2024-09-07 11:47:42 +02:00
Vinzenz Schroeter 051dbfabea wrap and rename ALL the types 2024-09-05 21:25:15 +02:00
Vinzenz Schroeter 5e141f1fbc clone in c example 2024-08-29 22:25:11 +02:00
Vinzenz Schroeter d385d8e1d4 add packet clone 2024-08-29 22:23:23 +02:00
Vinzenz Schroeter c9c51dcdc2 improve doc comments 2024-08-29 22:02:53 +02:00
Vinzenz Schroeter 956e5df812 CCommand (opaque wrapper around Command for C) 2024-08-29 21:39:47 +02:00
Vinzenz Schroeter 14faeb1238 replace * with - for bullets in comments 2024-08-29 19:39:18 +02:00
Vinzenz Schroeter 555d917d96 separate types for c api 2024-06-23 18:03:50 +02:00
Vinzenz Schroeter 3dc18a4765 fix cargo: output should be cargo:: 2024-05-30 21:55:55 +02:00
Vinzenz Schroeter 084c3df1db should not have been pub use, documentation fixes 2024-05-28 22:23:21 +02:00
Vinzenz Schroeter deceb2088f fix make file path, regenerate bindings 2024-05-28 21:28:42 +02:00
Vinzenz Schroeter c92493fad1 move examples into package (include them in published crate) 2024-05-26 13:55:19 +02:00