コード例 #1
0
        public static cef_binary_value_t *get_binary(cef_list_value_t *self, int index)
        {
            get_binary_delegate d;
            var p = self->_get_binary;

            if (p == _p10)
            {
                d = _d10;
            }
            else
            {
                d = (get_binary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_binary_delegate));
                if (_p10 == IntPtr.Zero)
                {
                    _d10 = d; _p10 = p;
                }
            }
            return(d(self, index));
        }
コード例 #2
0
        public static cef_binary_value_t *get_binary(cef_dictionary_value_t *self, cef_string_t *key)
        {
            get_binary_delegate d;
            var p = self->_get_binary;

            if (p == _p14)
            {
                d = _d14;
            }
            else
            {
                d = (get_binary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_binary_delegate));
                if (_p14 == IntPtr.Zero)
                {
                    _d14 = d; _p14 = p;
                }
            }
            return(d(self, key));
        }
コード例 #3
0
ファイル: cef_value_t.g.cs プロジェクト: fosstheory/PongGlobe
        public static cef_binary_value_t *get_binary(cef_value_t *self)
        {
            get_binary_delegate d;
            var p = self->_get_binary;

            if (p == _pe)
            {
                d = _de;
            }
            else
            {
                d = (get_binary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_binary_delegate));
                if (_pe == IntPtr.Zero)
                {
                    _de = d; _pe = p;
                }
            }
            return(d(self));
        }
コード例 #4
0
ファイル: cef_list_value_t.g.cs プロジェクト: whztt07/SDK
 public static cef_binary_value_t* get_binary(cef_list_value_t* self, int index)
 {
     get_binary_delegate d;
     var p = self->_get_binary;
     if (p == _p10) { d = _d10; }
     else
     {
         d = (get_binary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_binary_delegate));
         if (_p10 == IntPtr.Zero) { _d10 = d; _p10 = p; }
     }
     return d(self, index);
 }
コード例 #5
0
 public static cef_binary_value_t* get_binary(cef_dictionary_value_t* self, cef_string_t* key)
 {
     get_binary_delegate d;
     var p = self->_get_binary;
     if (p == _p11) { d = _d11; }
     else
     {
         d = (get_binary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_binary_delegate));
         if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; }
     }
     return d(self, key);
 }