FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Windows: get rid of most NO_IMPL related macros · Nase/node@43d7595 · GitHub

/ node Public
forked from nodejs/node-v0.x-archive

Commit 43d7595

Browse files
committed
Windows: get rid of most NO_IMPL related macros
1 parent dc99aa0 commit 43d7595

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

‎src/platform_win32.h‎

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,15 @@
33

44
#include <windows.h>
55

6-
#define NO_IMPL(type, name, rv, args...) \
7-
type name ( args ) { \
8-
HandleScope scope; \
9-
fprintf(stderr, "Not implemented: "#type" "#name"("#args")\n"); \
10-
return rv; \
11-
}
12-
13-
#define RET_V8INT(value) \
14-
scope.Close(Integer::New(value));
15-
#define RET_V8UNDEFINED \
16-
Undefined()
17-
#define RET_V8TRUE \
18-
True()
19-
#define RET_V8FALSE \
20-
False()
216

22-
#define NO_IMPL_MSG(name...) \
23-
fprintf(stderr, "Not implemented: %s\n", #name);
247

258
namespace node {
269

10+
#define NO_IMPL_MSG(name...) \
11+
fprintf(stderr, "Not implemented: %s\n", #name);
12+
2713
void winapi_perror(const char* prefix);
2814

2915
}
3016

31-
#endif // NODE_PLATFORM_WIN32_H_
17+
#endif // NODE_PLATFORM_WIN32_H_

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL