コード例 #1
0
        public static int set_null(cef_list_value_t *self, int index)
        {
            set_null_delegate d;
            var p = self->_set_null;

            if (p == _p13)
            {
                d = _d13;
            }
            else
            {
                d = (set_null_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_null_delegate));
                if (_p13 == IntPtr.Zero)
                {
                    _d13 = d; _p13 = p;
                }
            }
            return(d(self, index));
        }
コード例 #2
0
        public static int set_null(cef_dictionary_value_t *self, cef_string_t *key)
        {
            set_null_delegate d;
            var p = self->_set_null;

            if (p == _p18)
            {
                d = _d18;
            }
            else
            {
                d = (set_null_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_null_delegate));
                if (_p18 == IntPtr.Zero)
                {
                    _d18 = d; _p18 = p;
                }
            }
            return(d(self, key));
        }
コード例 #3
0
ファイル: cef_list_value_t.g.cs プロジェクト: whztt07/SDK
 public static int set_null(cef_list_value_t* self, int index)
 {
     set_null_delegate d;
     var p = self->_set_null;
     if (p == _p13) { d = _d13; }
     else
     {
         d = (set_null_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_null_delegate));
         if (_p13 == IntPtr.Zero) { _d13 = d; _p13 = p; }
     }
     return d(self, index);
 }
コード例 #4
0
 public static int set_null(cef_dictionary_value_t* self, cef_string_t* key)
 {
     set_null_delegate d;
     var p = self->_set_null;
     if (p == _p14) { d = _d14; }
     else
     {
         d = (set_null_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_null_delegate));
         if (_p14 == IntPtr.Zero) { _d14 = d; _p14 = p; }
     }
     return d(self, key);
 }