aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-26 11:15:16 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-26 11:16:36 -0700
commitf9d2510d8f655badea3dea14493b6d4d3882705a (patch)
treea100e16cb986b2f49b9cebef634bdc0333c6f566 /src/objective-c/ProtoRPC/ProtoRPC.h
parentc88e509ba6510c3bc24de55662e5ee0cba718f98 (diff)
Specify nullability in ProtoRPC
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index 635ba0c90e..b0f4ced99e 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -134,10 +134,11 @@ __attribute__((deprecated("Please use GRPCProtoCall."))) @interface ProtoRPC
* addr and the port number, for example @"localhost:5050".
*/
-
- (instancetype)initWithHost : (NSString *)host method
- : (GRPCProtoMethod *)method requestsWriter : (GRXWriter *)requestsWriter responseClass
- : (Class)responseClass responsesWriteable
- : (id<GRXWriteable>)responsesWriteable NS_DESIGNATED_INITIALIZER;
+ (instancetype _Null_unspecified)initWithHost : (NSString *_Null_unspecified)host method
+ : (GRPCProtoMethod *_Null_unspecified)method requestsWriter
+ : (GRXWriter *_Null_unspecified)requestsWriter responseClass
+ : (Class _Null_unspecified)responseClass responsesWriteable
+ : (id<GRXWriteable> _Null_unspecified)responsesWriteable NS_DESIGNATED_INITIALIZER;
- (void)start;
@end