Пример #1
0
        public static CefValueType get_type(cef_list_value_t *self, int index)
        {
            get_type_delegate d;
            var p = self->_get_type;

            if (p == _pb)
            {
                d = _db;
            }
            else
            {
                d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
                if (_pb == IntPtr.Zero)
                {
                    _db = d; _pb = p;
                }
            }
            return(d(self, index));
        }
Пример #2
0
        public static CefDomDocumentType get_type(cef_domdocument_t *self)
        {
            get_type_delegate d;
            var p = self->_get_type;

            if (p == _p3)
            {
                d = _d3;
            }
            else
            {
                d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
                if (_p3 == IntPtr.Zero)
                {
                    _d3 = d; _p3 = p;
                }
            }
            return(d(self));
        }
Пример #3
0
        public static CefValueType get_type(cef_dictionary_value_t *self, cef_string_t *key)
        {
            get_type_delegate d;
            var p = self->_get_type;

            if (p == _pe)
            {
                d = _de;
            }
            else
            {
                d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
                if (_pe == IntPtr.Zero)
                {
                    _de = d; _pe = p;
                }
            }
            return(d(self, key));
        }
        public static CefPostDataElementType get_type(cef_post_data_element_t *self)
        {
            get_type_delegate d;
            var p = self->_get_type;

            if (p == _p7)
            {
                d = _d7;
            }
            else
            {
                d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
                if (_p7 == IntPtr.Zero)
                {
                    _d7 = d; _p7 = p;
                }
            }
            return(d(self));
        }
Пример #5
0
        public static CefDomNodeType get_type(cef_domnode_t *self)
        {
            get_type_delegate d;
            var p = self->_get_type;

            if (p == _p4)
            {
                d = _d4;
            }
            else
            {
                d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
                if (_p4 == IntPtr.Zero)
                {
                    _d4 = d; _p4 = p;
                }
            }
            return(d(self));
        }
Пример #6
0
        public static CefXmlNodeType get_type(cef_xml_reader_t *self)
        {
            get_type_delegate d;
            var p = self->_get_type;

            if (p == _p7)
            {
                d = _d7;
            }
            else
            {
                d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
                if (_p7 == IntPtr.Zero)
                {
                    _d7 = d; _p7 = p;
                }
            }
            return(d(self));
        }
Пример #7
0
        public static cef_string_userfree *get_type(cef_domevent_t *self)
        {
            get_type_delegate d;
            var p = self->_get_type;

            if (p == _p3)
            {
                d = _d3;
            }
            else
            {
                d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
                if (_p3 == IntPtr.Zero)
                {
                    _d3 = d; _p3 = p;
                }
            }
            return(d(self));
        }
Пример #8
0
        public static CefValueType get_type(cef_value_t *self)
        {
            get_type_delegate d;
            var p = self->_get_type;

            if (p == _p9)
            {
                d = _d9;
            }
            else
            {
                d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
                if (_p9 == IntPtr.Zero)
                {
                    _d9 = d; _p9 = p;
                }
            }
            return(d(self));
        }
 public static CefPostDataElementType get_type(cef_post_data_element_t* self)
 {
     get_type_delegate d;
     var p = self->_get_type;
     if (p == _p7) { d = _d7; }
     else
     {
         d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
         if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; }
     }
     return d(self);
 }
Пример #10
0
 public static CefDomNodeType get_type(cef_domnode_t* self)
 {
     get_type_delegate d;
     var p = self->_get_type;
     if (p == _p3) { d = _d3; }
     else
     {
         d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
         if (_p3 == IntPtr.Zero) { _d3 = d; _p3 = p; }
     }
     return d(self);
 }
Пример #11
0
 public static CefValueType get_type(cef_list_value_t* self, int index)
 {
     get_type_delegate d;
     var p = self->_get_type;
     if (p == _pb) { d = _db; }
     else
     {
         d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
         if (_pb == IntPtr.Zero) { _db = d; _pb = p; }
     }
     return d(self, index);
 }
 public static CefXmlNodeType get_type(cef_xml_reader_t* self)
 {
     get_type_delegate d;
     var p = self->_get_type;
     if (p == _p7) { d = _d7; }
     else
     {
         d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
         if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; }
     }
     return d(self);
 }
Пример #13
0
 public static CefMenuItemType get_type(cef_menu_model_t* self, int command_id)
 {
     get_type_delegate d;
     var p = self->_get_type;
     if (p == _p18) { d = _d18; }
     else
     {
         d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
         if (_p18 == IntPtr.Zero) { _d18 = d; _p18 = p; }
     }
     return d(self, command_id);
 }
Пример #14
0
 public static cef_string_userfree* get_type(cef_domevent_t* self)
 {
     get_type_delegate d;
     var p = self->_get_type;
     if (p == _p3) { d = _d3; }
     else
     {
         d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
         if (_p3 == IntPtr.Zero) { _d3 = d; _p3 = p; }
     }
     return d(self);
 }
 public static CefValueType get_type(cef_dictionary_value_t* self, cef_string_t* key)
 {
     get_type_delegate d;
     var p = self->_get_type;
     if (p == _pc) { d = _dc; }
     else
     {
         d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
         if (_pc == IntPtr.Zero) { _dc = d; _pc = p; }
     }
     return d(self, key);
 }