public override string ToString() { if (this.intptr_0 == IntPtr.Zero) { return(string.Empty); } return(BlinkBrowserPInvoke.jsToString(this.intptr_0, this.long_0).Utf8IntptrToString()); }
public static Int64 JsString(IntPtr jsExecState, string str) { IntPtr strPtr = Marshal.StringToCoTaskMemAnsi(str); Int64 result = BlinkBrowserPInvoke.jsStringW(jsExecState, strPtr); Marshal.FreeCoTaskMem(strPtr); return(result); }
public static extern void wkeConfigure(IntPtr settings); // wkeSettings public static void wkeConfigureWrap(wkeSettings settings) { int nSizeOfSettings = Marshal.SizeOf(settings); IntPtr intPtr = Marshal.AllocHGlobal(nSizeOfSettings); Marshal.StructureToPtr(settings, intPtr, true); BlinkBrowserPInvoke.wkeConfigure(intPtr); Marshal.DestroyStructure(intPtr, typeof(wkeSettings)); }
public int ToInt() { return(BlinkBrowserPInvoke.jsToInt(this.intptr_0, this.long_0)); }
public float ToFloat() { return(BlinkBrowserPInvoke.jsToFloat(this.intptr_0, this.long_0)); }
public double ToDouble() { return(BlinkBrowserPInvoke.jsToDouble(this.intptr_0, this.long_0)); }
public bool ToBool() { return(BlinkBrowserPInvoke.jsToBoolean(this.intptr_0, this.long_0)); }
public static Int64 JsUndefined(IntPtr jsExecState) { return(BlinkBrowserPInvoke.jsUndefined(jsExecState)); }
public static Int64 JsTrue(IntPtr jsExecState) { return(BlinkBrowserPInvoke.jsTrue(jsExecState)); }
public static Int64 JsInt(IntPtr jsExecState, int n) { return(BlinkBrowserPInvoke.jsInt(jsExecState, n)); }
public static Int64 JsFloat(IntPtr jsExecState, float f) { return(BlinkBrowserPInvoke.jsFloat(jsExecState, f)); }
public static Int64 JsDouble(IntPtr jsExecState, double d) { return(BlinkBrowserPInvoke.jsDouble(jsExecState, d)); }
public static int ArgCount(IntPtr jsExecState) { return(BlinkBrowserPInvoke.jsArgCount(jsExecState)); }
public JsValue(IntPtr jsExecState, int argIndex) { this.intptr_0 = jsExecState; this.long_0 = BlinkBrowserPInvoke.jsArg(this.intptr_0, argIndex); }