public static int get_int(cef_list_value_t *self, int index) { get_int_delegate d; var p = self->_get_int; if (p == _pd) { d = _dd; } else { d = (get_int_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_int_delegate)); if (_pd == IntPtr.Zero) { _dd = d; _pd = p; } } return(d(self, index)); }
public static int get_int(cef_dictionary_value_t *self, cef_string_t *key) { get_int_delegate d; var p = self->_get_int; if (p == _p11) { d = _d11; } else { d = (get_int_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_int_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return(d(self, key)); }
public static int get_int(cef_value_t *self) { get_int_delegate d; var p = self->_get_int; if (p == _pb) { d = _db; } else { d = (get_int_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_int_delegate)); if (_pb == IntPtr.Zero) { _db = d; _pb = p; } } return(d(self)); }
public static int get_int(cef_list_value_t* self, int index) { get_int_delegate d; var p = self->_get_int; if (p == _pd) { d = _dd; } else { d = (get_int_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_int_delegate)); if (_pd == IntPtr.Zero) { _dd = d; _pd = p; } } return d(self, index); }
public static int get_int(cef_dictionary_value_t* self, cef_string_t* key) { get_int_delegate d; var p = self->_get_int; if (p == _pe) { d = _de; } else { d = (get_int_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_int_delegate)); if (_pe == IntPtr.Zero) { _de = d; _pe = p; } } return d(self, key); }