public static cef_string_userfree *get_frame_url(cef_context_menu_params_t *self) { get_frame_url_delegate d; var p = self->_get_frame_url; if (p == _pb) { d = _db; } else { d = (get_frame_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_frame_url_delegate)); if (_pb == IntPtr.Zero) { _db = d; _pb = p; } } return(d(self)); }
public static cef_string_userfree* get_frame_url(cef_context_menu_params_t* self) { get_frame_url_delegate d; var p = self->_get_frame_url; if (p == _pb) { d = _db; } else { d = (get_frame_url_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_frame_url_delegate)); if (_pb == IntPtr.Zero) { _db = d; _pb = p; } } return d(self); }