Index: src/api.cc |
=================================================================== |
--- src/api.cc (revision 1312) |
+++ src/api.cc (working copy) |
@@ -2924,6 +2924,19 @@ |
} |
+void Debug::SetHostDispatchHandler(v8::DebugHostDispatchHandler handler, |
+ void* data) { |
+ EnsureInitialized("v8::Debug::SetHostDispatchHandler"); |
+ i::Debugger::SetHostDispatchHandler(handler, data); |
+} |
+ |
+ |
+void Debug::SendHostDispatch(void* dispatch) { |
+ if (!i::V8::HasBeenSetup()) return; |
+ i::Debugger::ProcessHostDispatch(dispatch); |
+} |
+ |
+ |
Handle<Value> Debug::Call(v8::Handle<v8::Function> fun, |
v8::Handle<v8::Value> data) { |
if (!i::V8::HasBeenSetup()) return Handle<Value>(); |