public static int flush_store(cef_cookie_manager_t *self, cef_completion_callback_t *callback) { flush_store_delegate d; var p = self->_flush_store; if (p == _p9) { d = _d9; } else { d = (flush_store_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(flush_store_delegate)); if (_p9 == IntPtr.Zero) { _d9 = d; _p9 = p; } } return(d(self, callback)); }
public static int flush_store(cef_cookie_manager_t* self, cef_completion_callback_t* callback) { flush_store_delegate d; var p = self->_flush_store; if (p == _p9) { d = _d9; } else { d = (flush_store_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(flush_store_delegate)); if (_p9 == IntPtr.Zero) { _d9 = d; _p9 = p; } } return d(self, callback); }