mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-04 04:54:13 +00:00
[Swift] Renaming protocols (#6469)
* Renaming protocols * Updates Generated code * format code
This commit is contained in:
@@ -26,7 +26,7 @@ public protocol FlatBufferObject {
|
||||
init(_ bb: ByteBuffer, o: Int32)
|
||||
}
|
||||
|
||||
public protocol ObjectAPI {
|
||||
public protocol ObjectAPIPacker {
|
||||
associatedtype T
|
||||
static func pack(_ builder: inout FlatBufferBuilder, obj: inout T) -> Offset<UOffset>
|
||||
mutating func unpack() -> T
|
||||
|
||||
Reference in New Issue
Block a user