aboutsummaryrefslogtreecommitdiff
path: root/flatbuffers
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-03-22 10:59:03 +0000
committerMichael Williamson <mike@zwobble.org>2026-03-22 10:59:03 +0000
commitd8e89e31a95b7f435b07a5756368e5b39e063c6c (patch)
tree34a78709d64c1d146363acf6035606c98f8abb5a /flatbuffers
parent0d83766cdb08286adf64c54d82ef2a78755f4c1e (diff)
Add serialization of sources to flatbuffers
Diffstat (limited to 'flatbuffers')
-rw-r--r--flatbuffers/sources.fbs6
1 files changed, 5 insertions, 1 deletions
diff --git a/flatbuffers/sources.fbs b/flatbuffers/sources.fbs
index 9253bf6f..3b797d71 100644
--- a/flatbuffers/sources.fbs
+++ b/flatbuffers/sources.fbs
@@ -1,11 +1,15 @@
namespace Sources;
-union Source {
+union SourceValue {
NullSource,
RuntimeSource,
FileFragmentSource,
}
+table Source {
+ value:SourceValue (required);
+}
+
table NullSource {
}