public static int is_popup(cef_browser_t *self) { is_popup_delegate d; var p = self->_is_popup; if (p == _pe) { d = _de; } else { d = (is_popup_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_popup_delegate)); if (_pe == IntPtr.Zero) { _de = d; _pe = p; } } return(d(self)); }
public static int is_popup(cef_browser_t* self) { is_popup_delegate d; var p = self->_is_popup; if (p == _pe) { d = _de; } else { d = (is_popup_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_popup_delegate)); if (_pe == IntPtr.Zero) { _de = d; _pe = p; } } return d(self); }