@@ -108,14 +108,14 @@ namespace node {
108108
109109NODE_EXTERN v8::Local<v8::Value> ErrnoException (v8::Isolate* isolate,
110110 int errorno,
111- const char * syscall = NULL ,
112- const char * message = NULL ,
113- const char * path = NULL );
111+ const char * syscall = nullptr ,
112+ const char * message = nullptr ,
113+ const char * path = nullptr );
114114NODE_EXTERN v8::Local<v8::Value> UVException (v8::Isolate* isolate,
115115 int errorno,
116- const char * syscall = NULL ,
117- const char * message = NULL ,
118- const char * path = NULL );
116+ const char * syscall = nullptr ,
117+ const char * message = nullptr ,
118+ const char * path = nullptr );
119119NODE_EXTERN v8::Local<v8::Value> UVException (v8::Isolate* isolate,
120120 int errorno,
121121 const char * syscall,
@@ -126,9 +126,9 @@ NODE_EXTERN v8::Local<v8::Value> UVException(v8::Isolate* isolate,
126126NODE_DEPRECATED (" Use ErrnoException(isolate, ...)" ,
127127 inline v8::Local<v8::Value> ErrnoException (
128128 int errorno,
129- const char * syscall = NULL ,
130- const char * message = NULL ,
131- const char * path = NULL ) {
129+ const char * syscall = nullptr ,
130+ const char * message = nullptr ,
131+ const char * path = nullptr ) {
132132 return ErrnoException (v8::Isolate::GetCurrent (),
133133 errorno,
134134 syscall,
@@ -137,9 +137,9 @@ NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
137137})
138138
139139inline v8::Local<v8::Value> UVException (int errorno,
140- const char * syscall = NULL ,
141- const char * message = NULL ,
142- const char * path = NULL ) {
140+ const char * syscall = nullptr ,
141+ const char * message = nullptr ,
142+ const char * path = nullptr ) {
143143 return UVException (v8::Isolate::GetCurrent (),
144144 errorno,
145145 syscall,
@@ -426,14 +426,14 @@ NODE_DEPRECATED("Use DecodeWrite(isolate, ...)",
426426NODE_EXTERN v8::Local<v8::Value> WinapiErrnoException (
427427 v8::Isolate* isolate,
428428 int errorno,
429- const char *syscall = NULL ,
429+ const char *syscall = nullptr ,
430430 const char *msg = " " ,
431- const char *path = NULL );
431+ const char *path = nullptr );
432432
433433NODE_DEPRECATED (" Use WinapiErrnoException(isolate, ...)" ,
434434 inline v8::Local<v8::Value> WinapiErrnoException (int errorno,
435- const char *syscall = NULL , const char *msg = " " ,
436- const char *path = NULL ) {
435+ const char *syscall = nullptr , const char *msg = " " ,
436+ const char *path = nullptr ) {
437437 return WinapiErrnoException (v8::Isolate::GetCurrent (),
438438 errorno,
439439 syscall,
0 commit comments