public static cef_domnode_t *get_selection_end_node(cef_domdocument_t *self) { get_selection_end_node_delegate d; var p = self->_get_selection_end_node; if (p == _pd) { d = _dd; } else { d = (get_selection_end_node_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_selection_end_node_delegate)); if (_pd == IntPtr.Zero) { _dd = d; _pd = p; } } return(d(self)); }
public static cef_domnode_t* get_selection_end_node(cef_domdocument_t* self) { get_selection_end_node_delegate d; var p = self->_get_selection_end_node; if (p == _pd) { d = _dd; } else { d = (get_selection_end_node_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_selection_end_node_delegate)); if (_pd == IntPtr.Zero) { _dd = d; _pd = p; } } return d(self); }