Expose the initializer for unknown fields.
This commit is contained in:
parent
cdd524a0bd
commit
b30dee3ea6
@ -42,6 +42,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
**/
|
||||
@interface GPBUnknownField : NSObject<NSCopying>
|
||||
|
||||
/** Initialize a field with the given number. */
|
||||
- (instancetype)initWithNumber:(int32_t)number;
|
||||
|
||||
/** The field number the data is stored under. */
|
||||
@property(nonatomic, readonly, assign) int32_t number;
|
||||
|
||||
|
@ -36,8 +36,6 @@
|
||||
|
||||
@interface GPBUnknownField ()
|
||||
|
||||
- (instancetype)initWithNumber:(int32_t)number;
|
||||
|
||||
- (void)writeToOutput:(GPBCodedOutputStream *)output;
|
||||
- (size_t)serializedSize;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user