No more need to reference node's symbols
This commit is contained in:
parent
8894cfab50
commit
3a5bb588e5
3 changed files with 3 additions and 24 deletions
|
@ -27,29 +27,6 @@ using content::BrowserThread;
|
|||
#define REFERENCE_MODULE(name) \
|
||||
extern "C" void _register_ ## name(void); \
|
||||
void (*fp_register_ ## name)(void) = _register_ ## name
|
||||
// Node's builtin modules.
|
||||
REFERENCE_MODULE(cares_wrap);
|
||||
REFERENCE_MODULE(fs_event_wrap);
|
||||
REFERENCE_MODULE(buffer);
|
||||
REFERENCE_MODULE(contextify);
|
||||
REFERENCE_MODULE(crypto);
|
||||
REFERENCE_MODULE(fs);
|
||||
REFERENCE_MODULE(http_parser);
|
||||
REFERENCE_MODULE(os);
|
||||
REFERENCE_MODULE(v8);
|
||||
REFERENCE_MODULE(zlib);
|
||||
REFERENCE_MODULE(pipe_wrap);
|
||||
REFERENCE_MODULE(process_wrap);
|
||||
REFERENCE_MODULE(signal_wrap);
|
||||
REFERENCE_MODULE(smalloc);
|
||||
REFERENCE_MODULE(spawn_sync);
|
||||
REFERENCE_MODULE(tcp_wrap);
|
||||
REFERENCE_MODULE(timer_wrap);
|
||||
REFERENCE_MODULE(tls_wrap);
|
||||
REFERENCE_MODULE(tty_wrap);
|
||||
REFERENCE_MODULE(udp_wrap);
|
||||
REFERENCE_MODULE(uv);
|
||||
REFERENCE_MODULE(js_stream);
|
||||
// Atom Shell's builtin modules.
|
||||
REFERENCE_MODULE(atom_browser_app);
|
||||
REFERENCE_MODULE(atom_browser_auto_updater);
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
// Include common headers for using node APIs.
|
||||
|
||||
#define BUILDING_NODE_EXTENSION
|
||||
|
||||
#undef ASSERT
|
||||
#undef CHECK
|
||||
#undef CHECK_EQ
|
||||
|
|
2
vendor/node
vendored
2
vendor/node
vendored
|
@ -1 +1 @@
|
|||
Subproject commit df87e874a7b9a72628b442a306028dcffc107fec
|
||||
Subproject commit da4d745446fcc63bfc205477703533712dd01e2c
|
Loading…
Reference in a new issue