summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDerek Bailey <derekbailey@google.com>2022-08-29 20:43:36 -0700
committerGitHub <noreply@github.com>2022-08-29 20:43:36 -0700
commit06c5c7ed0bd987a918cf88caafb094f22cdd1721 (patch)
tree1c1857068ad1bf8e4893e3ecfb3f47cc69cb0d8e /samples
parentb190ce11b0013e90330b0ba29dee24f4bef08645 (diff)
downloadflatbuffers-06c5c7ed0bd987a918cf88caafb094f22cdd1721.tar.gz
flatbuffers-06c5c7ed0bd987a918cf88caafb094f22cdd1721.tar.bz2
flatbuffers-06c5c7ed0bd987a918cf88caafb094f22cdd1721.zip
FlatBuffers Version 2.0.8 (#7492)
Diffstat (limited to 'samples')
-rw-r--r--samples/monster_generated.h2
-rw-r--r--samples/monster_generated.swift8
2 files changed, 5 insertions, 5 deletions
diff --git a/samples/monster_generated.h b/samples/monster_generated.h
index 366b70fd..14f3b1c2 100644
--- a/samples/monster_generated.h
+++ b/samples/monster_generated.h
@@ -10,7 +10,7 @@
// generated, otherwise it may not be compatible.
static_assert(FLATBUFFERS_VERSION_MAJOR == 2 &&
FLATBUFFERS_VERSION_MINOR == 0 &&
- FLATBUFFERS_VERSION_REVISION == 7,
+ FLATBUFFERS_VERSION_REVISION == 8,
"Non-compatible flatbuffers version included");
namespace MyGame {
diff --git a/samples/monster_generated.swift b/samples/monster_generated.swift
index b3b6f050..173bacb9 100644
--- a/samples/monster_generated.swift
+++ b/samples/monster_generated.swift
@@ -31,7 +31,7 @@ public enum MyGame_Sample_Equipment: UInt8, Enum {
public struct MyGame_Sample_Vec3: NativeStruct {
- static func validateVersion() { FlatBuffersVersion_2_0_0() }
+ static func validateVersion() { FlatBuffersVersion_2_0_8() }
private var _x: Float32
private var _y: Float32
@@ -56,7 +56,7 @@ public struct MyGame_Sample_Vec3: NativeStruct {
public struct MyGame_Sample_Vec3_Mutable: FlatBufferObject {
- static func validateVersion() { FlatBuffersVersion_2_0_0() }
+ static func validateVersion() { FlatBuffersVersion_2_0_8() }
public var __buffer: ByteBuffer! { return _accessor.bb }
private var _accessor: Struct
@@ -72,7 +72,7 @@ public struct MyGame_Sample_Vec3_Mutable: FlatBufferObject {
public struct MyGame_Sample_Monster: FlatBufferObject {
- static func validateVersion() { FlatBuffersVersion_2_0_0() }
+ static func validateVersion() { FlatBuffersVersion_2_0_8() }
public var __buffer: ByteBuffer! { return _accessor.bb }
private var _accessor: Table
@@ -162,7 +162,7 @@ public struct MyGame_Sample_Monster: FlatBufferObject {
public struct MyGame_Sample_Weapon: FlatBufferObject {
- static func validateVersion() { FlatBuffersVersion_2_0_0() }
+ static func validateVersion() { FlatBuffersVersion_2_0_8() }
public var __buffer: ByteBuffer! { return _accessor.bb }
private var _accessor: Table