diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-09-02 22:22:18 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-09-02 22:22:18 -0700 |
commit | 5af286884e793c72a6842de5b2a79ac5e0eaa500 (patch) | |
tree | a8617596e68a27b55743d1ae33f29f8b5c74b710 /src/objective-c/GRPCClient/private | |
parent | 2f10127f85ebb4f81d64e195bee7731a40d00fa2 (diff) |
Make the grpc_metadataArray property private.
Diffstat (limited to 'src/objective-c/GRPCClient/private')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCWrappedCall.h | 4 | ||||
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCWrappedCall.m | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.h b/src/objective-c/GRPCClient/private/GRPCWrappedCall.h index 9147ba0816..4ca2766147 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.h +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.h @@ -35,7 +35,7 @@ #include <grpc/grpc.h> #import "GRPCChannel.h" -#import "GRPCCall.h" +#import "GRPCRequestHeaders.h" @interface GRPCOperation : NSObject @property(nonatomic, readonly) grpc_op op; @@ -45,7 +45,7 @@ @interface GRPCOpSendMetadata : GRPCOperation -- (instancetype)initWithMetadata:(id<GRPCRequestHeaders>)metadata +- (instancetype)initWithMetadata:(GRPCRequestHeaders *)metadata handler:(void(^)())handler NS_DESIGNATED_INITIALIZER; @end diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m index 1f8c647fa6..cea7c479e0 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m @@ -65,7 +65,7 @@ return [self initWithMetadata:nil handler:nil]; } -- (instancetype)initWithMetadata:(id<GRPCRequestHeaders>)metadata handler:(void (^)())handler { +- (instancetype)initWithMetadata:(GRPCRequestHeaders *)metadata handler:(void (^)())handler { if (self = [super init]) { _op.op = GRPC_OP_SEND_INITIAL_METADATA; _op.data.send_initial_metadata.count = metadata.count; |