Node.js  v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
node_config.cc File Reference
#include "node.h"
#include "node_i18n.h"
#include "env.h"
#include "env-inl.h"
#include "util.h"
#include "util-inl.h"
#include "node_debug_options.h"
Include dependency graph for node_config.cc:

Go to the source code of this file.

Namespaces

 node
 

Macros

#define READONLY_BOOLEAN_PROPERTY(str)
 
#define READONLY_PROPERTY(obj, name, value)
 

Macro Definition Documentation

◆ READONLY_BOOLEAN_PROPERTY

#define READONLY_BOOLEAN_PROPERTY (   str)
Value:
do { \
target->DefineOwnProperty(context, \
FIXED_ONE_BYTE_STRING(isolate, str), \
True(isolate), ReadOnly).FromJust(); \
} while (0)

Definition at line 27 of file node_config.cc.

◆ READONLY_PROPERTY

#define READONLY_PROPERTY (   obj,
  name,
  value 
)
Value:
do { \
obj->DefineOwnProperty(env->context(), \
FIXED_ONE_BYTE_STRING(isolate, name), \
value, ReadOnly).FromJust(); \
} while (0)

Definition at line 34 of file node_config.cc.