Closed cbrune closed 1 year ago
This patch adds an annotation for creating name spaces within capnproto files with the C-language code generator.
Use the annotation like this:
using C = import "/c.capnp"; $C.namespace("foo_");
The string passed into the namespace annotation is prepended to the name of all the struct's in the schema file.
This patch adds an annotation for creating name spaces within capnproto files with the C-language code generator.
Use the annotation like this:
The string passed into the namespace annotation is prepended to the name of all the struct's in the schema file.