public static cef_string_userfree *get_string(cef_list_value_t *self, int index) { get_string_delegate d; var p = self->_get_string; if (p == _pf) { d = _df; } else { d = (get_string_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_string_delegate)); if (_pf == IntPtr.Zero) { _df = d; _pf = p; } } return(d(self, index)); }
public static cef_string_userfree *get_string(cef_dictionary_value_t *self, cef_string_t *key) { get_string_delegate d; var p = self->_get_string; if (p == _p13) { d = _d13; } else { d = (get_string_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_string_delegate)); if (_p13 == IntPtr.Zero) { _d13 = d; _p13 = p; } } return(d(self, key)); }
public static cef_string_userfree* get_string(cef_list_value_t* self, int index) { get_string_delegate d; var p = self->_get_string; if (p == _pf) { d = _df; } else { d = (get_string_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_string_delegate)); if (_pf == IntPtr.Zero) { _df = d; _pf = p; } } return d(self, index); }
public static cef_string_userfree* get_string(cef_dictionary_value_t* self, cef_string_t* key) { get_string_delegate d; var p = self->_get_string; if (p == _p10) { d = _d10; } else { d = (get_string_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_string_delegate)); if (_p10 == IntPtr.Zero) { _d10 = d; _p10 = p; } } return d(self, key); }