public CefV8Value ExecFunction(NativeJsContext context, char[] argAsJsonChars) { unsafe { fixed(char *first = &argAsJsonChars[0]) { CefV8Value value = new CefV8Value(Cef3Binder.MyCefJs_ExecJsFunctionWithContext(this.Ptr, context.Ptr, first)); return(value); } } }
public CefV8Value ExecFunction(NativeJsContext context, string argAsJsonString) { unsafe { char[] chars = argAsJsonString.ToCharArray(); fixed(char *first = &chars[0]) { CefV8Value value = new CefV8Value(Cef3Binder.MyCefJs_ExecJsFunctionWithContext(this.Ptr, context.Ptr, first)); return(value); } } }