public static int get_dictionary_suggestions(cef_context_menu_params_t *self, cef_string_list *suggestions) { get_dictionary_suggestions_delegate d; var p = self->_get_dictionary_suggestions; if (p == _p11) { d = _d11; } else { d = (get_dictionary_suggestions_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_dictionary_suggestions_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return(d(self, suggestions)); }
public static int get_dictionary_suggestions(cef_context_menu_params_t* self, cef_string_list* suggestions) { get_dictionary_suggestions_delegate d; var p = self->_get_dictionary_suggestions; if (p == _p12) { d = _d12; } else { d = (get_dictionary_suggestions_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_dictionary_suggestions_delegate)); if (_p12 == IntPtr.Zero) { _d12 = d; _p12 = p; } } return d(self, suggestions); }