public static cef_domnode_t *get_first_child(cef_domnode_t *self)
        {
            get_first_child_delegate d;
            var p = self->_get_first_child;

            if (p == _p13)
            {
                d = _d13;
            }
            else
            {
                d = (get_first_child_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_first_child_delegate));
                if (_p13 == IntPtr.Zero)
                {
                    _d13 = d; _p13 = p;
                }
            }
            return(d(self));
        }
Beispiel #2
0
 public static cef_domnode_t* get_first_child(cef_domnode_t* self)
 {
     get_first_child_delegate d;
     var p = self->_get_first_child;
     if (p == _p13) { d = _d13; }
     else
     {
         d = (get_first_child_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_first_child_delegate));
         if (_p13 == IntPtr.Zero) { _d13 = d; _p13 = p; }
     }
     return d(self);
 }