V8Init() private method

private V8Init ( ) : void
return void
Exemplo n.º 1
0
        public static void LoadV8(string dllfile, bool doV8Init = true)
        {
            hModuleV8 = LoadLibrary(dllfile);
            if (hModuleV8 == IntPtr.Zero)
            {
                return;
            }

            //-------------------
            if (doV8Init)
            {
                //sometime we set to false , and  let underlying lib init the v8 engine.
                NativeV8JsInterOp.V8Init();
            }
        }
Exemplo n.º 2
0
 public static void V8Init()
 {
     NativeV8JsInterOp.V8Init();
 }