Lines Matching defs:NodeJS
16 #include "NodeJS.h"
21 void NodeJS::Init(napi_env env, napi_value exports)
27 auto status = napi_define_class(env, "Node", NAPI_AUTO_LENGTH, BaseObject::ctor<NodeJS>(), nullptr,
35 NodeJS::NodeJS(napi_env e, napi_callback_info i) : BaseObject<NodeJS>(e, i), NodeImpl(NodeImpl::NODE)
37 LOG_F("NodeJS ++");
51 CORE_LOG_F("Invalid scene for NodeJS!");
102 NodeJS::~NodeJS()
104 LOG_F("NodeJS --");
106 void* NodeJS::GetInstanceImpl(uint32_t id)
108 if (id == NodeJS::ID) {
114 void NodeJS::DisposeNative()
116 LOG_F("NodeJS::DisposeNative");