public static cef_string_userfree *get_title(cef_navigation_entry_t *self)
        {
            get_title_delegate d;
            var p = self->_get_title;

            if (p == _p8)
            {
                d = _d8;
            }
            else
            {
                d = (get_title_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_title_delegate));
                if (_p8 == IntPtr.Zero)
                {
                    _d8 = d; _p8 = p;
                }
            }
            return(d(self));
        }
Exemplo n.º 2
0
        public static cef_string_userfree *get_title(cef_domdocument_t *self)
        {
            get_title_delegate d;
            var p = self->_get_title;

            if (p == _p7)
            {
                d = _d7;
            }
            else
            {
                d = (get_title_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_title_delegate));
                if (_p7 == IntPtr.Zero)
                {
                    _d7 = d; _p7 = p;
                }
            }
            return(d(self));
        }
Exemplo n.º 3
0
 public static cef_string_userfree* get_title(cef_domdocument_t* self)
 {
     get_title_delegate d;
     var p = self->_get_title;
     if (p == _p7) { d = _d7; }
     else
     {
         d = (get_title_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_title_delegate));
         if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; }
     }
     return d(self);
 }