示例#1
0
 public JSRuntime(uint maxBytes = 1024 * 1024 * 8)
 {
     Pointer = JSAPI.NewRuntime(maxBytes);
     if (Pointer.IsZero)
     {
         throw new Exception();
     }
 }