private static IntPtr CreateDebugAgent(StdString.Ptr pName, StdString.Ptr pVersion, int port, bool remote, V8DebugCallback.Handle hCallback) { return(V8ProxyHelpers.AddRefHostObject(new V8DebugAgent(StdString.GetValue(pName), StdString.GetValue(pVersion), port, remote, new V8DebugListenerImpl(hCallback)))); }
public V8DebugListenerImpl(V8DebugCallback.Handle hCallback) { holder = new V8EntityHolder("V8 debug listener", () => hCallback); }