Jonah Beckford
311b9cb0e0
Fix clang-tidy bugprone-macro-parentheses
...
Correct the definition of capnp_use(x) macro.
> recommended to surround macro arguments
> in the replacement list with parentheses. This
> ensures that the argument value is calculated
> properly.
2023-08-03 18:19:55 -07:00
David Lamparter
632f0d73a1
Update autogenerated files
...
Signed-off-by: David Lamparter <equinox@diac24.net>
2023-04-23 14:35:11 +02:00
David Lamparter
b0810da2c3
Silence warning on unused struct parameter
...
When generating code for an empty struct, the read_/write_ functions
would print warnings about the unused "s" pointer. Silence these.
2017-05-19 09:40:37 +02:00
Alex Helfet
989acc3414
Most .capnp files use "/c.capnp".fieldgetset. Recompile from schema files.
2017-03-26 23:40:55 +01:00
David Lamparter
87591da455
Update autogenerated files
2016-06-22 14:24:28 +02:00
David Lamparter
d3b1cad50f
compiler: regenerate schema.c with enum/int cast
2016-03-19 00:39:25 +01:00
Liam Staskawicz
560366c7d4
compiler: introduce workaround for annotation ids in nestednode list (see comments), and regenerate schema .{c|h} files based on capnproto v0.5.2
2015-08-04 11:56:00 -07:00
James McKaskill
081c783bbf
don't autoresolve pointers
2013-09-12 17:26:51 -04:00
James McKaskill
ca1d07f657
Round trip the schema through the compiler
2013-09-12 14:37:15 -04:00
James McKaskill
9f75d0c7a6
Update compiler to support groups/unions
2013-09-12 13:49:19 -04:00
James McKaskill
93f695f77c
add constants
2013-05-12 17:21:56 -04:00
James McKaskill
2eb6628ae4
add support for default values
2013-05-12 00:59:47 -04:00
James McKaskill
95b29a249b
remove read/write_float, use to/from_f32 instead
2013-05-12 00:59:47 -04:00
James McKaskill
65c23b9218
get recursive copy to work
2013-05-12 00:59:47 -04:00
James McKaskill
2ded64d310
Add new and new list funcs
2013-05-08 23:17:21 -04:00
James McKaskill
e1860e2b4b
bootstrap complete - use generated schema.capnp.(c|h)
2013-05-08 23:04:58 -04:00
James McKaskill
8db142a9a0
subcompiler now outputs struct defns, get, set, read, write funcs
2013-05-08 23:04:06 -04:00
James McKaskill
8bb9759e8c
Move schema.* to schema.capnp.*
2013-05-08 22:57:35 -04:00