From 43d75952ffc01a5edab77f8b4a745ec54ba5f7c1 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 17 Jan 2011 23:38:34 +0100 Subject: [PATCH] Windows: get rid of most NO_IMPL related macros --- src/platform_win32.h | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/src/platform_win32.h b/src/platform_win32.h index df0dbd633b..fdaead76da 100644 --- a/src/platform_win32.h +++ b/src/platform_win32.h @@ -3,29 +3,15 @@ #include -#define NO_IMPL(type, name, rv, args...) \ - type name ( args ) { \ - HandleScope scope; \ - fprintf(stderr, "Not implemented: "#type" "#name"("#args")\n"); \ - return rv; \ - } - -#define RET_V8INT(value) \ - scope.Close(Integer::New(value)); -#define RET_V8UNDEFINED \ - Undefined() -#define RET_V8TRUE \ - True() -#define RET_V8FALSE \ - False() -#define NO_IMPL_MSG(name...) \ - fprintf(stderr, "Not implemented: %s\n", #name); namespace node { +#define NO_IMPL_MSG(name...) \ + fprintf(stderr, "Not implemented: %s\n", #name); + void winapi_perror(const char* prefix); } -#endif // NODE_PLATFORM_WIN32_H_ \ No newline at end of file +#endif // NODE_PLATFORM_WIN32_H_