Refactor code generation for unions #345

Merged
jwharm merged 1 commit from refactor-unions into main 2026-04-06 14:21:03 +02:00
Owner

Refactored the generation of "union" elements. As a result, there are now read() and write() methods for union fields.

Refactored the generation of "union" elements. As a result, there are now read() and write() methods for union fields.
Removed the UnionGenerator and used the RecordGenerator instead to
generate a Java class for "union" GIR elements.

Also removed the BoxedGenerator class because this can also be handled
by the RecordGenerator.
jwharm merged commit 943f740dec into main 2026-04-06 14:21:03 +02:00
Sign in to join this conversation.
No description provided.