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)))); }
private static IntPtr AddRefHostObject(IntPtr pObject) { return(V8ProxyHelpers.AddRefHostObject(pObject)); }
private static IntPtr CreateV8ObjectCache() { return(V8ProxyHelpers.AddRefHostObject(new Dictionary <object, IntPtr>())); }