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
0f1393d6
Commit
0f1393d6
authored
Apr 09, 2015
by
Daniel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More 'int' return value documentation
parent
153a226a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
java_message.h
src/google/protobuf/compiler/java/java_message.h
+5
-1
No files found.
src/google/protobuf/compiler/java/java_message.h
View file @
0f1393d6
...
...
@@ -67,7 +67,7 @@ class MessageGenerator {
virtual
void
GenerateStaticVariables
(
io
::
Printer
*
printer
)
=
0
;
// Output code which initializes the static variables generated by
// GenerateStaticVariables().
// GenerateStaticVariables().
Returns an estimate of bytecode size.
virtual
int
GenerateStaticVariableInitializers
(
io
::
Printer
*
printer
)
=
0
;
// Generate the class itself.
...
...
@@ -97,6 +97,8 @@ class ImmutableMessageGenerator : public MessageGenerator {
virtual
void
GenerateInterface
(
io
::
Printer
*
printer
);
virtual
void
GenerateExtensionRegistrationCode
(
io
::
Printer
*
printer
);
virtual
void
GenerateStaticVariables
(
io
::
Printer
*
printer
);
// Returns an estimate of the number of bytes the printed code will compile to
virtual
int
GenerateStaticVariableInitializers
(
io
::
Printer
*
printer
);
private
:
...
...
@@ -106,6 +108,8 @@ class ImmutableMessageGenerator : public MessageGenerator {
};
void
GenerateFieldAccessorTable
(
io
::
Printer
*
printer
);
// Returns an estimate of the number of bytes the printed code will compile to
int
GenerateFieldAccessorTableInitializer
(
io
::
Printer
*
printer
);
void
GenerateMessageSerializationMethods
(
io
::
Printer
*
printer
);
...
...
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