public static int get_misspelling_hash(cef_context_menu_params_t *self) { get_misspelling_hash_delegate d; var p = self->_get_misspelling_hash; if (p == _p11) { d = _d11; } else { d = (get_misspelling_hash_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_misspelling_hash_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return(d(self)); }
public static int get_misspelling_hash(cef_context_menu_params_t* self) { get_misspelling_hash_delegate d; var p = self->_get_misspelling_hash; if (p == _p11) { d = _d11; } else { d = (get_misspelling_hash_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_misspelling_hash_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return d(self); }