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
397ddf9e
Commit
397ddf9e
authored
May 25, 2018
by
Paul Yang
Committed by
Bo Yang
May 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add back GeneratedClassName to public (#4686)
These methods are used by grpc
parent
6c12ff5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
php_generator.h
src/google/protobuf/compiler/php/php_generator.h
+10
-0
No files found.
src/google/protobuf/compiler/php/php_generator.h
View file @
397ddf9e
...
...
@@ -49,6 +49,16 @@ class LIBPROTOC_EXPORT Generator
GeneratorContext
*
generator_context
,
string
*
error
)
const
;
// To skip reserved keywords in php, some generated classname are prefixed.
// Other code generators may need following API to figure out the actual
// classname.
LIBPROTOC_EXPORT
std
::
string
GeneratedClassName
(
const
google
::
protobuf
::
Descriptor
*
desc
);
LIBPROTOC_EXPORT
std
::
string
GeneratedClassName
(
const
google
::
protobuf
::
EnumDescriptor
*
desc
);
LIBPROTOC_EXPORT
std
::
string
GeneratedClassName
(
const
google
::
protobuf
::
ServiceDescriptor
*
desc
);
};
}
// namespace php
...
...
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