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