mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-24 19:16:09 +00:00
Swift/Kotlin generated code version updates
Change-Id: I035163cb5edd087a190bb518e686c79887241383
This commit is contained in:
@@ -30,7 +30,7 @@ class Attacker : Table() {
|
||||
}
|
||||
}
|
||||
companion object {
|
||||
fun validateVersion() = Constants.FLATBUFFERS_1_12_0()
|
||||
fun validateVersion() = Constants.FLATBUFFERS_2_0_0()
|
||||
fun getRootAsAttacker(_bb: ByteBuffer): Attacker = getRootAsAttacker(_bb, Attacker())
|
||||
fun getRootAsAttacker(_bb: ByteBuffer, obj: Attacker): Attacker {
|
||||
_bb.order(ByteOrder.LITTLE_ENDIAN)
|
||||
|
||||
@@ -68,7 +68,7 @@ class Movie : Table() {
|
||||
val o = __offset(10); return if (o != 0) __vector_len(o) else 0
|
||||
}
|
||||
companion object {
|
||||
fun validateVersion() = Constants.FLATBUFFERS_1_12_0()
|
||||
fun validateVersion() = Constants.FLATBUFFERS_2_0_0()
|
||||
fun getRootAsMovie(_bb: ByteBuffer): Movie = getRootAsMovie(_bb, Movie())
|
||||
fun getRootAsMovie(_bb: ByteBuffer, obj: Movie): Movie {
|
||||
_bb.order(ByteOrder.LITTLE_ENDIAN)
|
||||
|
||||
Reference in New Issue
Block a user