public static void find(cef_browser_host_t *self, int identifier, cef_string_t *searchText, int forward, int matchCase, int findNext) { find_delegate d; var p = self->_find; if (p == _p10) { d = _d10; } else { d = (find_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(find_delegate)); if (_p10 == IntPtr.Zero) { _d10 = d; _p10 = p; } } d(self, identifier, searchText, forward, matchCase, findNext); }
public static void find(cef_browser_host_t* self, int identifier, cef_string_t* searchText, int forward, int matchCase, int findNext) { find_delegate d; var p = self->_find; if (p == _p10) { d = _d10; } else { d = (find_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(find_delegate)); if (_p10 == IntPtr.Zero) { _d10 = d; _p10 = p; } } d(self, identifier, searchText, forward, matchCase, findNext); }