diff options
author | Derek Bailey <derekbailey@google.com> | 2023-01-21 12:46:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-21 12:46:57 -0800 |
commit | ee848a02e17a94edaacd1dd95a1664b59c6f06b2 (patch) | |
tree | 60ec1a11e3f6f82df5aa941e9a86eabbcfd27cc1 /src | |
parent | ef76b5ece4d6ff06bebf04f42e41a50427263ae3 (diff) | |
download | flatbuffers-ee848a02e17a94edaacd1dd95a1664b59c6f06b2.tar.gz flatbuffers-ee848a02e17a94edaacd1dd95a1664b59c6f06b2.tar.bz2 flatbuffers-ee848a02e17a94edaacd1dd95a1664b59c6f06b2.zip |
FlatBuffers Version 23.1.21 (#7796)
Diffstat (limited to 'src')
-rw-r--r-- | src/idl_gen_csharp.cpp | 2 | ||||
-rw-r--r-- | src/idl_gen_java.cpp | 2 | ||||
-rw-r--r-- | src/idl_gen_kotlin.cpp | 2 | ||||
-rw-r--r-- | src/idl_gen_swift.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/idl_gen_csharp.cpp b/src/idl_gen_csharp.cpp index 234ba972..18db6053 100644 --- a/src/idl_gen_csharp.cpp +++ b/src/idl_gen_csharp.cpp @@ -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_23_1_20(); "; + code += "FLATBUFFERS_23_1_21(); "; code += "}\n"; // Generate a special accessor for the table that when used as the root diff --git a/src/idl_gen_java.cpp b/src/idl_gen_java.cpp index 70436cf2..c2c25ab1 100644 --- a/src/idl_gen_java.cpp +++ b/src/idl_gen_java.cpp @@ -683,7 +683,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_20(); "; + code += "FLATBUFFERS_23_1_21(); "; code += "}\n"; // Generate a special accessor for the table that when used as the root diff --git a/src/idl_gen_kotlin.cpp b/src/idl_gen_kotlin.cpp index cf05bd4e..7a23e77b 100644 --- a/src/idl_gen_kotlin.cpp +++ b/src/idl_gen_kotlin.cpp @@ -524,7 +524,7 @@ class KotlinGenerator : public BaseGenerator { // runtime. GenerateFunOneLine( writer, "validateVersion", "", "", - [&]() { writer += "Constants.FLATBUFFERS_23_1_20()"; }, + [&]() { writer += "Constants.FLATBUFFERS_23_1_21()"; }, options.gen_jvmstatic); GenerateGetRootAsAccessors(namer_.Type(struct_def), writer, options); diff --git a/src/idl_gen_swift.cpp b/src/idl_gen_swift.cpp index b80505d5..c8a52bca 100644 --- a/src/idl_gen_swift.cpp +++ b/src/idl_gen_swift.cpp @@ -1840,7 +1840,7 @@ class SwiftGenerator : public BaseGenerator { } std::string ValidateFunc() { - return "static func validateVersion() { FlatBuffersVersion_23_1_20() }"; + return "static func validateVersion() { FlatBuffersVersion_23_1_21() }"; } std::string GenType(const Type &type, |