Add atom-shell bindings before loading environment

This commit is contained in:
Cheng Zhao 2015-01-21 15:02:09 -08:00
parent 5e58915bdd
commit 7e33e26465
8 changed files with 74 additions and 94 deletions

View file

@ -24,7 +24,7 @@ class AtomBindings {
// Add process.atomBinding function, which behaves like process.binding but
// load native code from atom-shell instead.
virtual void BindTo(v8::Isolate* isolate, v8::Handle<v8::Object> process);
void BindTo(v8::Isolate* isolate, v8::Handle<v8::Object> process);
private:
void ActivateUVLoop(v8::Isolate* isolate);