public static int is_read_only(cef_list_value_t *self)
        {
            is_read_only_delegate d;
            var p = self->_is_read_only;

            if (p == _p5)
            {
                d = _d5;
            }
            else
            {
                d = (is_read_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_read_only_delegate));
                if (_p5 == IntPtr.Zero)
                {
                    _d5 = d; _p5 = p;
                }
            }
            return(d(self));
        }
        public static int is_read_only(cef_post_data_element_t *self)
        {
            is_read_only_delegate d;
            var p = self->_is_read_only;

            if (p == _p3)
            {
                d = _d3;
            }
            else
            {
                d = (is_read_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_read_only_delegate));
                if (_p3 == IntPtr.Zero)
                {
                    _d3 = d; _p3 = p;
                }
            }
            return(d(self));
        }
        public static int is_read_only(cef_command_line_t *self)
        {
            is_read_only_delegate d;
            var p = self->_is_read_only;

            if (p == _p4)
            {
                d = _d4;
            }
            else
            {
                d = (is_read_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_read_only_delegate));
                if (_p4 == IntPtr.Zero)
                {
                    _d4 = d; _p4 = p;
                }
            }
            return(d(self));
        }
 public static int is_read_only(cef_request_t* self)
 {
     is_read_only_delegate d;
     var p = self->_is_read_only;
     if (p == _p3) { d = _d3; }
     else
     {
         d = (is_read_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_read_only_delegate));
         if (_p3 == IntPtr.Zero) { _d3 = d; _p3 = p; }
     }
     return d(self);
 }
示例#5
0
 public static int is_read_only(cef_process_message_t* self)
 {
     is_read_only_delegate d;
     var p = self->_is_read_only;
     if (p == _p4) { d = _d4; }
     else
     {
         d = (is_read_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_read_only_delegate));
         if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; }
     }
     return d(self);
 }
 public static int is_read_only(cef_dictionary_value_t* self)
 {
     is_read_only_delegate d;
     var p = self->_is_read_only;
     if (p == _p5) { d = _d5; }
     else
     {
         d = (is_read_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_read_only_delegate));
         if (_p5 == IntPtr.Zero) { _d5 = d; _p5 = p; }
     }
     return d(self);
 }