mirror of
https://github.com/nodejs/node.git
synced 2025-05-03 07:06:00 +00:00

Update tests to use module name macro PR-URL: https://github.com/nodejs/node/pull/16185 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
16 lines
345 B
C++
16 lines
345 B
C++
#include <node_version.h>
|
|
#undef NODE_MODULE_VERSION
|
|
#define NODE_MODULE_VERSION 42
|
|
#include <node.h>
|
|
|
|
namespace {
|
|
|
|
inline void Initialize(v8::Local<v8::Object> exports,
|
|
v8::Local<v8::Value> module,
|
|
v8::Local<v8::Context> context) {
|
|
}
|
|
|
|
}
|
|
|
|
NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, Initialize)
|