mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 16:57:29 +00:00
FlatBuffers Version 25.9.23 (#8708)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user