Browse Source

Windows: get rid of most NO_IMPL related macros

v0.7.4-release
Bert Belder 14 years ago
parent
commit
43d75952ff
  1. 18
      src/platform_win32.h

18
src/platform_win32.h

@ -3,27 +3,13 @@
#include <windows.h> #include <windows.h>
#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)); namespace node {
#define RET_V8UNDEFINED \
Undefined()
#define RET_V8TRUE \
True()
#define RET_V8FALSE \
False()
#define NO_IMPL_MSG(name...) \ #define NO_IMPL_MSG(name...) \
fprintf(stderr, "Not implemented: %s\n", #name); fprintf(stderr, "Not implemented: %s\n", #name);
namespace node {
void winapi_perror(const char* prefix); void winapi_perror(const char* prefix);
} }

Loading…
Cancel
Save