FlatBuffers Version 22.11.23 (#7662)

This commit is contained in:
Derek Bailey
2022-11-23 11:32:19 -08:00
committed by GitHub
parent 9d2c04d629
commit 8f625561d0
159 changed files with 212 additions and 212 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_11_22(); ";
code += "FLATBUFFERS_22_11_23(); ";
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_11_22(); ";
code += "FLATBUFFERS_22_11_23(); ";
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_11_22()"; },
[&]() { writer += "Constants.FLATBUFFERS_22_11_23()"; },
options.gen_jvmstatic);
GenerateGetRootAsAccessors(namer_.Type(struct_def), writer, options);

View File

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