public static cef_domnode_t *get_head(cef_domdocument_t *self) { get_head_delegate d; var p = self->_get_head; if (p == _p6) { d = _d6; } else { d = (get_head_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_head_delegate)); if (_p6 == IntPtr.Zero) { _d6 = d; _p6 = p; } } return(d(self)); }
public static cef_domnode_t* get_head(cef_domdocument_t* self) { get_head_delegate d; var p = self->_get_head; if (p == _p6) { d = _d6; } else { d = (get_head_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_head_delegate)); if (_p6 == IntPtr.Zero) { _d6 = d; _p6 = p; } } return d(self); }