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
264e615e
Unverified
Commit
264e615e
authored
6 years ago
by
Paul Yang
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add back GeneratedClassName to public (#4686)
These methods are used by grpc
parent
6e7eeb34
No related merge requests found
Hide 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 @
264e615e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
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