mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-04 15:41:11 +00:00
Improves documentation, and adding DocC (#6784)
Finished documenting flatbuffersbuilder Replaces swift 5.5 with 5.2 packages Starts building the tutorial for xcode 13 Finishes building the tutorial for xcode 13 Removes docc files from old swift versions Updates swift style guide
This commit is contained in:
@@ -64,8 +64,7 @@ public struct TableVerifier {
|
||||
|
||||
/// Reading the offset for the field needs to be read.
|
||||
let offset: VOffset = try _verifier.getValue(
|
||||
at: Int(clamping: _vtable &+ Int(field))
|
||||
)
|
||||
at: Int(clamping: _vtable &+ Int(field)))
|
||||
|
||||
if offset > 0 {
|
||||
return Int(clamping: _position &+ Int(offset))
|
||||
@@ -116,7 +115,8 @@ public struct TableVerifier {
|
||||
unionKeyName: String,
|
||||
fieldName: String,
|
||||
required: Bool,
|
||||
completion: @escaping (inout Verifier, T, Int) throws -> Void) throws where T: UnionEnum
|
||||
completion: @escaping (inout Verifier, T, Int) throws -> Void) throws
|
||||
where T: UnionEnum
|
||||
{
|
||||
let keyPos = try dereference(key)
|
||||
let valPos = try dereference(field)
|
||||
@@ -170,7 +170,8 @@ public struct TableVerifier {
|
||||
unionKeyName: String,
|
||||
fieldName: String,
|
||||
required: Bool,
|
||||
completion: @escaping (inout Verifier, T, Int) throws -> Void) throws where T: UnionEnum
|
||||
completion: @escaping (inout Verifier, T, Int) throws -> Void) throws
|
||||
where T: UnionEnum
|
||||
{
|
||||
let keyVectorPosition = try dereference(key)
|
||||
let offsetVectorPosition = try dereference(field)
|
||||
|
||||
Reference in New Issue
Block a user