Name changes in compiler

pull/16190/head
Muxi Yan 6 years ago
parent 4264ea2b55
commit 6d8340847c
  1. 4
      src/compiler/objective_c_generator.cc
  2. 2
      src/compiler/objective_c_plugin.cc

@ -127,11 +127,11 @@ void PrintV2Signature(Printer* printer, const MethodDescriptor* method,
printer->Print(vars, "- ($return_type$)$method_name$With");
if (method->client_streaming()) {
printer->Print("ResponseHandler:(id<GRPCResponseHandler>)handler");
printer->Print("ResponseHandler:(id<GRPCProtoResponseHandler>)handler");
} else {
printer->Print(vars,
"Message:($request_class$ *)message "
"responseHandler:(id<GRPCResponseHandler>)handler");
"responseHandler:(id<GRPCProtoResponseHandler>)handler");
}
printer->Print(" callOptions:(GRPCCallOptions *_Nullable)callOptions");
}

@ -98,7 +98,7 @@ class ObjectiveCGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
"@class GRPCUnaryProtoCall;\n"
"@class GRPCStreamingProtoCall;\n"
"@class GRPCCallOptions;\n"
"@protocol GRPCResponseHandler;\n"
"@protocol GRPCProtoResponseHandler;\n"
"\n";
::grpc::string class_declarations =

Loading…
Cancel
Save