FlatBuffers Version 23.5.9 (#7945)

This commit is contained in:
Derek Bailey
2023-05-09 09:33:30 -07:00
committed by GitHub
parent 63b7b25289
commit 72b56fd081
185 changed files with 245 additions and 241 deletions

View File

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

View File

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

View File

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