Huge commit to use new V8 and Content APIs.
Still got a lots of linking errors!
This commit is contained in:
parent
d82cfc023f
commit
409a431892
78 changed files with 969 additions and 1057 deletions
|
@ -29,6 +29,11 @@ class EventEmitter : public node::ObjectWrap {
|
|||
bool Emit(const std::string& name);
|
||||
bool Emit(const std::string& name, base::ListValue* args);
|
||||
|
||||
// The handle() of ObjectWrap doesn't provide the const version.
|
||||
inline v8::Local<v8::Object> handle() const {
|
||||
return const_cast<EventEmitter*>(this)->handle();
|
||||
}
|
||||
|
||||
protected:
|
||||
explicit EventEmitter(v8::Handle<v8::Object> wrapper);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue