aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext/channel.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-11-06 14:39:17 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2017-11-06 14:43:31 -0800
commit40422d5fa621624868280094efb2f01c2cd1352b (patch)
treecbb2baa955e11c03fa004e9e0f4f3037ba3d6150 /src/node/ext/channel.h
parentaae4ca01a315a69fcf182d09aea1efdfcda13d48 (diff)
parente759d2ad7abdb0702970eeccc5f033ff4b2a4c7f (diff)
Merge master
Diffstat (limited to 'src/node/ext/channel.h')
-rw-r--r--src/node/ext/channel.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/node/ext/channel.h b/src/node/ext/channel.h
index a93dbe9d25..bfdcbe617c 100644
--- a/src/node/ext/channel.h
+++ b/src/node/ext/channel.h
@@ -27,9 +27,9 @@ namespace grpc {
namespace node {
bool ParseChannelArgs(v8::Local<v8::Value> args_val,
- grpc_channel_args **channel_args_ptr);
+ grpc_channel_args** channel_args_ptr);
-void DeallocateChannelArgs(grpc_channel_args *channel_args);
+void DeallocateChannelArgs(grpc_channel_args* channel_args);
/* Wrapper class for grpc_channel structs */
class Channel : public Nan::ObjectWrap {
@@ -41,25 +41,25 @@ class Channel : public Nan::ObjectWrap {
static v8::Persistent<v8::Value> prototype;
/* Returns the grpc_channel struct that this object wraps */
- grpc_channel *GetWrappedChannel();
+ grpc_channel* GetWrappedChannel();
private:
- explicit Channel(grpc_channel *channel);
+ explicit Channel(grpc_channel* channel);
~Channel();
// Prevent copying
- Channel(const Channel &);
- Channel &operator=(const Channel &);
+ Channel(const Channel&);
+ Channel& operator=(const Channel&);
static NAN_METHOD(New);
static NAN_METHOD(Close);
static NAN_METHOD(GetTarget);
static NAN_METHOD(GetConnectivityState);
static NAN_METHOD(WatchConnectivityState);
- static Nan::Callback *constructor;
+ static Nan::Callback* constructor;
static Nan::Persistent<v8::FunctionTemplate> fun_tpl;
- grpc_channel *wrapped_channel;
+ grpc_channel* wrapped_channel;
};
} // namespace node