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
6fb956d9
Commit
6fb956d9
authored
Dec 05, 2012
by
liujisi@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extra semicolons
parent
1e36e100
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
descriptor.h
src/google/protobuf/descriptor.h
+7
-7
wire_format_lite_inl.h
src/google/protobuf/wire_format_lite_inl.h
+6
-6
No files found.
src/google/protobuf/descriptor.h
View file @
6fb956d9
...
@@ -1334,7 +1334,7 @@ PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension_range,
...
@@ -1334,7 +1334,7 @@ PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension_range,
const
Descriptor
::
ExtensionRange
*
)
const
Descriptor
::
ExtensionRange
*
)
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
Descriptor
,
extension
,
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
Descriptor
,
extension
,
const
FieldDescriptor
*
)
const
FieldDescriptor
*
)
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
Descriptor
,
MessageOptions
)
;
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
Descriptor
,
MessageOptions
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
FieldDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
FieldDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
FieldDescriptor
,
full_name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
FieldDescriptor
,
full_name
)
...
@@ -1351,7 +1351,7 @@ PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, message_type, const Descriptor*)
...
@@ -1351,7 +1351,7 @@ PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, message_type, const Descriptor*)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
enum_type
,
const
EnumDescriptor
*
)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
enum_type
,
const
EnumDescriptor
*
)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
experimental_map_key
,
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
experimental_map_key
,
const
FieldDescriptor
*
)
const
FieldDescriptor
*
)
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
FieldDescriptor
,
FieldOptions
)
;
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
FieldDescriptor
,
FieldOptions
)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
has_default_value
,
bool
)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
has_default_value
,
bool
)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
default_value_int32
,
int32
)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
default_value_int32
,
int32
)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
default_value_int64
,
int64
)
PROTOBUF_DEFINE_ACCESSOR
(
FieldDescriptor
,
default_value_int64
,
int64
)
...
@@ -1371,13 +1371,13 @@ PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, containing_type, const Descriptor*)
...
@@ -1371,13 +1371,13 @@ PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, containing_type, const Descriptor*)
PROTOBUF_DEFINE_ACCESSOR
(
EnumDescriptor
,
value_count
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
EnumDescriptor
,
value_count
,
int
)
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
EnumDescriptor
,
value
,
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
EnumDescriptor
,
value
,
const
EnumValueDescriptor
*
)
const
EnumValueDescriptor
*
)
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
EnumDescriptor
,
EnumOptions
)
;
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
EnumDescriptor
,
EnumOptions
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
EnumValueDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
EnumValueDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
EnumValueDescriptor
,
full_name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
EnumValueDescriptor
,
full_name
)
PROTOBUF_DEFINE_ACCESSOR
(
EnumValueDescriptor
,
number
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
EnumValueDescriptor
,
number
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
EnumValueDescriptor
,
type
,
const
EnumDescriptor
*
)
PROTOBUF_DEFINE_ACCESSOR
(
EnumValueDescriptor
,
type
,
const
EnumDescriptor
*
)
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
EnumValueDescriptor
,
EnumValueOptions
)
;
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
EnumValueDescriptor
,
EnumValueOptions
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
ServiceDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
ServiceDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
ServiceDescriptor
,
full_name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
ServiceDescriptor
,
full_name
)
...
@@ -1385,14 +1385,14 @@ PROTOBUF_DEFINE_ACCESSOR(ServiceDescriptor, file, const FileDescriptor*)
...
@@ -1385,14 +1385,14 @@ PROTOBUF_DEFINE_ACCESSOR(ServiceDescriptor, file, const FileDescriptor*)
PROTOBUF_DEFINE_ACCESSOR
(
ServiceDescriptor
,
method_count
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
ServiceDescriptor
,
method_count
,
int
)
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
ServiceDescriptor
,
method
,
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
ServiceDescriptor
,
method
,
const
MethodDescriptor
*
)
const
MethodDescriptor
*
)
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
ServiceDescriptor
,
ServiceOptions
)
;
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
ServiceDescriptor
,
ServiceOptions
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
MethodDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
MethodDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
MethodDescriptor
,
full_name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
MethodDescriptor
,
full_name
)
PROTOBUF_DEFINE_ACCESSOR
(
MethodDescriptor
,
service
,
const
ServiceDescriptor
*
)
PROTOBUF_DEFINE_ACCESSOR
(
MethodDescriptor
,
service
,
const
ServiceDescriptor
*
)
PROTOBUF_DEFINE_ACCESSOR
(
MethodDescriptor
,
input_type
,
const
Descriptor
*
)
PROTOBUF_DEFINE_ACCESSOR
(
MethodDescriptor
,
input_type
,
const
Descriptor
*
)
PROTOBUF_DEFINE_ACCESSOR
(
MethodDescriptor
,
output_type
,
const
Descriptor
*
)
PROTOBUF_DEFINE_ACCESSOR
(
MethodDescriptor
,
output_type
,
const
Descriptor
*
)
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
MethodDescriptor
,
MethodOptions
)
;
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
MethodDescriptor
,
MethodOptions
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
FileDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
FileDescriptor
,
name
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
FileDescriptor
,
package
)
PROTOBUF_DEFINE_STRING_ACCESSOR
(
FileDescriptor
,
package
)
PROTOBUF_DEFINE_ACCESSOR
(
FileDescriptor
,
pool
,
const
DescriptorPool
*
)
PROTOBUF_DEFINE_ACCESSOR
(
FileDescriptor
,
pool
,
const
DescriptorPool
*
)
...
@@ -1403,7 +1403,7 @@ PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, message_type_count, int)
...
@@ -1403,7 +1403,7 @@ PROTOBUF_DEFINE_ACCESSOR(FileDescriptor, message_type_count, int)
PROTOBUF_DEFINE_ACCESSOR
(
FileDescriptor
,
enum_type_count
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
FileDescriptor
,
enum_type_count
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
FileDescriptor
,
service_count
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
FileDescriptor
,
service_count
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
FileDescriptor
,
extension_count
,
int
)
PROTOBUF_DEFINE_ACCESSOR
(
FileDescriptor
,
extension_count
,
int
)
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
FileDescriptor
,
FileOptions
)
;
PROTOBUF_DEFINE_OPTIONS_ACCESSOR
(
FileDescriptor
,
FileOptions
)
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
FileDescriptor
,
message_type
,
const
Descriptor
*
)
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
FileDescriptor
,
message_type
,
const
Descriptor
*
)
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
FileDescriptor
,
enum_type
,
const
EnumDescriptor
*
)
PROTOBUF_DEFINE_ARRAY_ACCESSOR
(
FileDescriptor
,
enum_type
,
const
EnumDescriptor
*
)
...
...
src/google/protobuf/wire_format_lite_inl.h
View file @
6fb956d9
...
@@ -299,12 +299,12 @@ inline bool WireFormatLite::ReadRepeatedPrimitive< \
...
@@ -299,12 +299,12 @@ inline bool WireFormatLite::ReadRepeatedPrimitive< \
tag_size, tag, input, values); \
tag_size, tag, input, values); \
}
}
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
uint32
,
TYPE_FIXED32
)
;
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
uint32
,
TYPE_FIXED32
)
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
uint64
,
TYPE_FIXED64
)
;
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
uint64
,
TYPE_FIXED64
)
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
int32
,
TYPE_SFIXED32
)
;
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
int32
,
TYPE_SFIXED32
)
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
int64
,
TYPE_SFIXED64
)
;
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
int64
,
TYPE_SFIXED64
)
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
float
,
TYPE_FLOAT
)
;
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
float
,
TYPE_FLOAT
)
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
double
,
TYPE_DOUBLE
)
;
READ_REPEATED_FIXED_SIZE_PRIMITIVE
(
double
,
TYPE_DOUBLE
)
#undef READ_REPEATED_FIXED_SIZE_PRIMITIVE
#undef READ_REPEATED_FIXED_SIZE_PRIMITIVE
...
...
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