FlatBuffers Version 25.12.19 (#8871)

This commit is contained in:
Derek Bailey
2025-12-19 15:06:07 -08:00
committed by GitHub
parent 57fdd4f995
commit 7e163021e5
191 changed files with 356 additions and 367 deletions

View File

@@ -894,7 +894,7 @@ class CSharpGenerator : public BaseGenerator {
// Force compile time error if not using the same version runtime.
code += " public static void ValidateVersion() {";
code += " FlatBufferConstants.";
code += "FLATBUFFERS_25_9_23(); ";
code += "FLATBUFFERS_25_12_19(); ";
code += "}\n";
// Generate a special accessor for the table that when used as the root

View File

@@ -725,7 +725,7 @@ class JavaGenerator : public BaseGenerator {
// Force compile time error if not using the same version runtime.
code += " public static void ValidateVersion() {";
code += " Constants.";
code += "FLATBUFFERS_25_9_23(); ";
code += "FLATBUFFERS_25_12_19(); ";
code += "}\n";
// Generate a special accessor for the table that when used as the root

View File

@@ -551,7 +551,7 @@ class KotlinGenerator : public BaseGenerator {
// runtime.
GenerateFunOneLine(
writer, "validateVersion", "", "",
[&]() { writer += "Constants.FLATBUFFERS_25_9_23()"; },
[&]() { writer += "Constants.FLATBUFFERS_25_12_19()"; },
options.gen_jvmstatic);
GenerateGetRootAsAccessors(namer_.Type(struct_def), writer, options);

View File

@@ -1956,7 +1956,7 @@ class SwiftGenerator : public BaseGenerator {
}
std::string ValidateFunc() {
return "static func validateVersion() { FlatBuffersVersion_25_9_23() }";
return "static func validateVersion() { FlatBuffersVersion_25_12_19() }";
}
std::string GenType(const Type& type,