public static cef_domnode_t *get_last_child(cef_domnode_t *self)
        {
            get_last_child_delegate d;
            var p = self->_get_last_child;

            if (p == _p14)
            {
                d = _d14;
            }
            else
            {
                d = (get_last_child_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_last_child_delegate));
                if (_p14 == IntPtr.Zero)
                {
                    _d14 = d; _p14 = p;
                }
            }
            return(d(self));
        }
Example #2
0
 public static cef_domnode_t* get_last_child(cef_domnode_t* self)
 {
     get_last_child_delegate d;
     var p = self->_get_last_child;
     if (p == _p14) { d = _d14; }
     else
     {
         d = (get_last_child_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_last_child_delegate));
         if (_p14 == IntPtr.Zero) { _d14 = d; _p14 = p; }
     }
     return d(self);
 }