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
d19c26f2
Commit
d19c26f2
authored
Jan 05, 2016
by
Thomas Van Lenten
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1093 from thomasvl/fix_objc
Update objectivec/google/protobuf/Type.pbobjc.m
parents
de999982
fcce7842
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Type.pbobjc.m
objectivec/google/protobuf/Type.pbobjc.m
+13
-0
No files found.
objectivec/google/protobuf/Type.pbobjc.m
View file @
d19c26f2
...
...
@@ -208,6 +208,7 @@ void SetGPBType_Syntax_RawValue(GPBType *message, int32_t value) {
@dynamic
packed
;
@dynamic
optionsArray
,
optionsArray_Count
;
@dynamic
jsonName
;
@dynamic
defaultValue
;
typedef
struct
GPBField__storage_
{
uint32_t
_has_storage_
[
1
];
...
...
@@ -220,6 +221,7 @@ typedef struct GPBField__storage_ {
NSString
*
typeURL
;
NSMutableArray
*
optionsArray
;
NSString
*
jsonName
;
NSString
*
defaultValue
;
}
GPBField__storage_
;
// This method is threadsafe because it is initially called
...
...
@@ -327,6 +329,17 @@ typedef struct GPBField__storage_ {
.
dataTypeSpecific
.
className
=
NULL
,
.
fieldOptions
=
NULL
,
},
{
.
name
=
"defaultValue"
,
.
number
=
GPBField_FieldNumber_DefaultValue
,
.
hasIndex
=
9
,
.
flags
=
GPBFieldOptional
,
.
dataType
=
GPBDataTypeString
,
.
offset
=
offsetof
(
GPBField__storage_
,
defaultValue
),
.
defaultValue
.
valueString
=
nil
,
.
dataTypeSpecific
.
className
=
NULL
,
.
fieldOptions
=
NULL
,
},
};
static
GPBMessageEnumDescription
enums
[]
=
{
{
.
enumDescriptorFunc
=
GPBField_Kind_EnumDescriptor
},
...
...
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