diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-05-26 11:53:31 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-06-01 01:11:05 -0700 |
commit | 52592fc78428c88c8a5f342c0ba04d5e328b7789 (patch) | |
tree | 4450aea5143d6a2fb355d6e6ac8394cd7c7c1e9d /src/compiler/objective_c_plugin.cc | |
parent | 2e378c89f89820941d1b30ad8c8b501fefa213b0 (diff) |
Use class names for types as generated by the messages plugin
Diffstat (limited to 'src/compiler/objective_c_plugin.cc')
-rw-r--r-- | src/compiler/objective_c_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/objective_c_plugin.cc b/src/compiler/objective_c_plugin.cc index 3cb170e95c..b5ac2bafa9 100644 --- a/src/compiler/objective_c_plugin.cc +++ b/src/compiler/objective_c_plugin.cc @@ -77,7 +77,7 @@ class ObjectiveCGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator { string declarations; for (int i = 0; i < file->service_count(); i++) { const grpc::protobuf::ServiceDescriptor *service = file->service(i); - declarations += grpc_objective_c_generator::GetHeader(service, prefix); + declarations += grpc_objective_c_generator::GetHeader(service); } Write(context, file_name + ".pbrpc.h", @@ -95,7 +95,7 @@ class ObjectiveCGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator { string definitions; for (int i = 0; i < file->service_count(); i++) { const grpc::protobuf::ServiceDescriptor *service = file->service(i); - definitions += grpc_objective_c_generator::GetSource(service, prefix); + definitions += grpc_objective_c_generator::GetSource(service); } Write(context, file_name + ".pbrpc.m", imports + '\n' + definitions); |