Explorar o código

Fix up parameter name so decl matches defn

className -> class_name
dmaclach %!s(int64=5) %!d(string=hai) anos
pai
achega
836d81a826

+ 2 - 2
src/google/protobuf/compiler/objectivec/objectivec_helpers.h

@@ -120,12 +120,12 @@ string PROTOC_EXPORT OneofNameCapitalized(const OneofDescriptor* descriptor);
 
 // Returns a symbol that can be used in C code to refer to an Objective C
 // class without initializing the class.
-string PROTOC_EXPORT ObjCClassSymbolReference(const string& className);
+string PROTOC_EXPORT ObjCClassSymbolReference(const string& class_name);
 
 // Defines a symbol that can be used in C code to refer to an Objective C
 // class without initializing the class. Use a corresponding
 // ObjCClassSymbolReference to reference it.
-string PROTOC_EXPORT ObjCClassSymbolDefinition(const string& className);
+string PROTOC_EXPORT ObjCClassSymbolDefinition(const string& class_name);
 
 inline bool HasFieldPresence(const FileDescriptor* file) {
   return file->syntax() != FileDescriptor::SYNTAX_PROTO3;