FlatBuffers Version 25.9.23 (#8708)

This commit is contained in:
Derek Bailey
2025-09-23 22:18:02 -07:00
committed by GitHub
parent c427e1a65d
commit 1872409707
185 changed files with 271 additions and 268 deletions

View File

@@ -880,7 +880,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_2_10(); ";
code += "FLATBUFFERS_25_9_23(); ";
code += "}\n";
// Generate a special accessor for the table that when used as the root

View File

@@ -724,7 +724,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_2_10(); ";
code += "FLATBUFFERS_25_9_23(); ";
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_2_10()"; },
[&]() { writer += "Constants.FLATBUFFERS_25_9_23()"; },
options.gen_jvmstatic);
GenerateGetRootAsAccessors(namer_.Type(struct_def), writer, options);

View File

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