Beispiel #1
0
        public static void set_status_text(cef_response_t *self, cef_string_t *statusText)
        {
            set_status_text_delegate d;
            var p = self->_set_status_text;

            if (p == _pa)
            {
                d = _da;
            }
            else
            {
                d = (set_status_text_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_status_text_delegate));
                if (_pa == IntPtr.Zero)
                {
                    _da = d; _pa = p;
                }
            }
            d(self, statusText);
        }
 public static void set_status_text(cef_response_t* self, cef_string_t* statusText)
 {
     set_status_text_delegate d;
     var p = self->_set_status_text;
     if (p == _p7) { d = _d7; }
     else
     {
         d = (set_status_text_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_status_text_delegate));
         if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; }
     }
     d(self, statusText);
 }