Add an annotation to typedef structs and enums.
A new annotation 'typedefto' allows you to make a typedef in the generated code for structs and enums (but not union 'which' enums).
This commit is contained in:
parent
fe3a57de13
commit
9153fc39c4
2 changed files with 40 additions and 0 deletions
|
|
@ -43,3 +43,6 @@ annotation fieldgetset @0xf72bc690355d66de (file): Void;
|
|||
annotation donotinclude @0x8c99797357b357e9 (file): UInt64;
|
||||
# do not generate an include directive for an import statement for the file with
|
||||
# the given ID
|
||||
|
||||
annotation typedefto @0xcefaf27713042144 (struct, enum): Text;
|
||||
# generate a typedef for the annotated struct or enum declaration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue