Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
e264b20e
Commit
e264b20e
authored
Jul 05, 2017
by
Thomas Van Lenten
Committed by
GitHub
Jul 05, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3315 from thomasvl/mutate_unknowns
Expose the initializer for unknown fields.
parents
cdd524a0
b30dee3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
GPBUnknownField.h
objectivec/GPBUnknownField.h
+3
-0
GPBUnknownField_PackagePrivate.h
objectivec/GPBUnknownField_PackagePrivate.h
+0
-2
No files found.
objectivec/GPBUnknownField.h
View file @
e264b20e
...
...
@@ -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
;
...
...
objectivec/GPBUnknownField_PackagePrivate.h
View file @
e264b20e
...
...
@@ -36,8 +36,6 @@
@interface
GPBUnknownField
()
-
(
instancetype
)
initWithNumber
:
(
int32_t
)
number
;
-
(
void
)
writeToOutput
:
(
GPBCodedOutputStream
*
)
output
;
-
(
size_t
)
serializedSize
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment