FlatBuffers Version 25.2.10

This commit is contained in:
Derek Bailey
2025-02-10 20:25:03 -08:00
parent 820a7f277f
commit 1c514626e8
186 changed files with 278 additions and 268 deletions

View File

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

View File

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

View File

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

View File

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