aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-07 16:01:23 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-07 16:01:23 -0800
commitdf21aab3a6af360cff29a5164f9728ba646d35ab (patch)
tree31b4ad23e2fbcf7964ea4036cc87e440d7990492 /src/objective-c/ProtoRPC/ProtoRPC.h
parent92db5fc72488f9d62b81ee311a79832df787f3ef (diff)
nullability annotation
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index 2e0400a323..e6ba1f66ca 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -70,11 +70,11 @@ NS_ASSUME_NONNULL_BEGIN
* Users should not use this initializer directly. Call objects will be created, initialized, and
* returned to users by methods of the generated service.
*/
-- (instancetype)initWithRequestOptions:(GRPCRequestOptions *)requestOptions
- message:(GPBMessage *)message
- responseHandler:(id<GRPCProtoResponseHandler>)handler
- callOptions:(nullable GRPCCallOptions *)callOptions
- responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
+- (nullable instancetype)initWithRequestOptions:(GRPCRequestOptions *)requestOptions
+ message:(GPBMessage *)message
+ responseHandler:(id<GRPCProtoResponseHandler>)handler
+ callOptions:(nullable GRPCCallOptions *)callOptions
+ responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
/**
* Start the call. This function must only be called once for each instance.
@@ -101,10 +101,10 @@ NS_ASSUME_NONNULL_BEGIN
* Users should not use this initializer directly. Call objects will be created, initialized, and
* returned to users by methods of the generated service.
*/
-- (instancetype)initWithRequestOptions:(GRPCRequestOptions *)requestOptions
- responseHandler:(id<GRPCProtoResponseHandler>)handler
- callOptions:(nullable GRPCCallOptions *)callOptions
- responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
+- (nullable instancetype)initWithRequestOptions:(GRPCRequestOptions *)requestOptions
+ responseHandler:(id<GRPCProtoResponseHandler>)handler
+ callOptions:(nullable GRPCCallOptions *)callOptions
+ responseClass:(Class)responseClass NS_DESIGNATED_INITIALIZER;
/**
* Start the call. This function must only be called once for each instance.