Define our own Node entry
Chromium's V8 is using external startup snapshot file while Node does not, so we have to use Chromium's gin for V8 initialization.
This commit is contained in:
parent
ceccf1b48a
commit
c62c943bdb
7 changed files with 83 additions and 12 deletions
14
atom/app/node_main.h
Normal file
14
atom/app/node_main.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Copyright (c) 2015 GitHub, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ATOM_APP_NODE_MAIN_H_
|
||||
#define ATOM_APP_NODE_MAIN_H_
|
||||
|
||||
namespace atom {
|
||||
|
||||
int NodeMain(int argc, char *argv[]);
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ATOM_APP_NODE_MAIN_H_
|
Loading…
Add table
Add a link
Reference in a new issue