예제 #1
0
        public static int set_dictionary(cef_list_value_t *self, int index, cef_dictionary_value_t *value)
        {
            set_dictionary_delegate d;
            var p = self->_set_dictionary;

            if (p == _p19)
            {
                d = _d19;
            }
            else
            {
                d = (set_dictionary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_dictionary_delegate));
                if (_p19 == IntPtr.Zero)
                {
                    _d19 = d; _p19 = p;
                }
            }
            return(d(self, index, value));
        }
예제 #2
0
        public static int set_dictionary(cef_dictionary_value_t *self, cef_string_t *key, cef_dictionary_value_t *value)
        {
            set_dictionary_delegate d;
            var p = self->_set_dictionary;

            if (p == _p1e)
            {
                d = _d1e;
            }
            else
            {
                d = (set_dictionary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_dictionary_delegate));
                if (_p1e == IntPtr.Zero)
                {
                    _d1e = d; _p1e = p;
                }
            }
            return(d(self, key, value));
        }
예제 #3
0
 public static int set_dictionary(cef_list_value_t* self, int index, cef_dictionary_value_t* value)
 {
     set_dictionary_delegate d;
     var p = self->_set_dictionary;
     if (p == _p19) { d = _d19; }
     else
     {
         d = (set_dictionary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_dictionary_delegate));
         if (_p19 == IntPtr.Zero) { _d19 = d; _p19 = p; }
     }
     return d(self, index, value);
 }
 public static int set_dictionary(cef_dictionary_value_t* self, cef_string_t* key, cef_dictionary_value_t* value)
 {
     set_dictionary_delegate d;
     var p = self->_set_dictionary;
     if (p == _p1a) { d = _d1a; }
     else
     {
         d = (set_dictionary_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_dictionary_delegate));
         if (_p1a == IntPtr.Zero) { _d1a = d; _p1a = p; }
     }
     return d(self, key, value);
 }