aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/objectivec/objectivec_helpers.h
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2016-09-09 11:02:09 -0400
committerGitHub <noreply@github.com>2016-09-09 11:02:09 -0400
commit7377eb2b03b5027c5b4925cd682a9cab5fb7c239 (patch)
treee3c7e5179ae46ceeb54b95b7262a417557388c73 /src/google/protobuf/compiler/objectivec/objectivec_helpers.h
parent5d35e60900bf74e095dd98904d07f144dbd8d521 (diff)
parent337ec3065f98d6f048f92b3a864f65383a2549d8 (diff)
downloadprotobuf-7377eb2b03b5027c5b4925cd682a9cab5fb7c239.tar.gz
protobuf-7377eb2b03b5027c5b4925cd682a9cab5fb7c239.tar.bz2
protobuf-7377eb2b03b5027c5b4925cd682a9cab5fb7c239.zip
Merge pull request #1970 from thomasvl/objc_any_helpers
Objc any helpers
Diffstat (limited to 'src/google/protobuf/compiler/objectivec/objectivec_helpers.h')
-rw-r--r--src/google/protobuf/compiler/objectivec/objectivec_helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/google/protobuf/compiler/objectivec/objectivec_helpers.h b/src/google/protobuf/compiler/objectivec/objectivec_helpers.h
index 8f8f1d90..d17d44aa 100644
--- a/src/google/protobuf/compiler/objectivec/objectivec_helpers.h
+++ b/src/google/protobuf/compiler/objectivec/objectivec_helpers.h
@@ -67,6 +67,9 @@ bool IsRetainedName(const string& name);
// handling under ARC.
bool IsInitName(const string& name);
+// Gets the objc_class_prefix.
+string FileClassPrefix(const FileDescriptor* file);
+
// Gets the path of the file we're going to generate (sans the .pb.h
// extension). The path will be dependent on the objectivec package
// declared in the proto package.
@@ -83,6 +86,7 @@ string FileClassName(const FileDescriptor* file);
// These return the fully-qualified class name corresponding to the given
// descriptor.
string ClassName(const Descriptor* descriptor);
+string ClassName(const Descriptor* descriptor, string* out_suffix_added);
string EnumName(const EnumDescriptor* descriptor);
// Returns the fully-qualified name of the enum value corresponding to the