FlatBuffers Version 23.3.3 (#7852)

This commit is contained in:
Derek Bailey
2023-03-03 11:46:55 -08:00
committed by GitHub
parent 6f9ea7c23c
commit 01834de25e
173 changed files with 257 additions and 251 deletions

View File

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

View File

@@ -526,7 +526,7 @@ class KotlinGenerator : public BaseGenerator {
// runtime.
GenerateFunOneLine(
writer, "validateVersion", "", "",
[&]() { writer += "Constants.FLATBUFFERS_23_1_21()"; },
[&]() { writer += "Constants.FLATBUFFERS_23_3_3()"; },
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_1_21() }";
return "static func validateVersion() { FlatBuffersVersion_23_3_3() }";
}
std::string GenType(const Type &type,