FlatBuffers Version 22.10.25 (#7604)

This commit is contained in:
Derek Bailey
2022-10-26 00:03:49 -07:00
committed by GitHub
parent 5b3fadcc16
commit a54ca1e759
158 changed files with 329 additions and 250 deletions

View File

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

View File

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

View File

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

View File

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