@@ -108,14 +108,14 @@ namespace node {
108
108
109
109
NODE_EXTERN v8::Local<v8::Value> ErrnoException (v8::Isolate* isolate,
110
110
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 );
114
114
NODE_EXTERN v8::Local<v8::Value> UVException (v8::Isolate* isolate,
115
115
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 );
119
119
NODE_EXTERN v8::Local<v8::Value> UVException (v8::Isolate* isolate,
120
120
int errorno,
121
121
const char * syscall,
@@ -126,9 +126,9 @@ NODE_EXTERN v8::Local<v8::Value> UVException(v8::Isolate* isolate,
126
126
NODE_DEPRECATED (" Use ErrnoException(isolate, ...)" ,
127
127
inline v8::Local<v8::Value> ErrnoException (
128
128
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 ) {
132
132
return ErrnoException (v8::Isolate::GetCurrent (),
133
133
errorno,
134
134
syscall ,
@@ -137,9 +137,9 @@ NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
137
137
})
138
138
139
139
inline 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 ) {
143
143
return UVException (v8::Isolate::GetCurrent (),
144
144
errorno,
145
145
syscall ,
@@ -426,14 +426,14 @@ NODE_DEPRECATED("Use DecodeWrite(isolate, ...)",
426
426
NODE_EXTERN v8::Local<v8::Value> WinapiErrnoException (
427
427
v8::Isolate* isolate,
428
428
int errorno,
429
- const char *syscall = NULL ,
429
+ const char *syscall = nullptr ,
430
430
const char *msg = " " ,
431
- const char *path = NULL );
431
+ const char *path = nullptr );
432
432
433
433
NODE_DEPRECATED (" Use WinapiErrnoException(isolate, ...)" ,
434
434
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 ) {
437
437
return WinapiErrnoException (v8::Isolate::GetCurrent (),
438
438
errorno,
439
439
syscall ,
0 commit comments