public static cef_frame_t *get_focused_frame(cef_browser_t *self) { get_focused_frame_delegate d; var p = self->_get_focused_frame; if (p == _p11) { d = _d11; } else { d = (get_focused_frame_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_focused_frame_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return(d(self)); }
public static cef_frame_t* get_focused_frame(cef_browser_t* self) { get_focused_frame_delegate d; var p = self->_get_focused_frame; if (p == _p11) { d = _d11; } else { d = (get_focused_frame_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_focused_frame_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return d(self); }