There are a number of macros that can be used (whether empty field or not) to allow the C-to-JSON script to embed more useful information for bindings. For example, some languages allow structs to have default values.
[ ] PULE_modifierOptional ; pointers can be null. zig's ?*
[ ] PULE_modifierDefaultValue(X) ; assign value to field.
[ ] PULE_modifierErrorable(...) ; a list of errors that can be raised by this function
Description
There are a number of macros that can be used (whether empty field or not) to allow the C-to-JSON script to embed more useful information for bindings. For example, some languages allow structs to have default values.
?*