public static cef_domnode_t *get_current_target(cef_domevent_t *self) { get_current_target_delegate d; var p = self->_get_current_target; if (p == _pa) { d = _da; } else { d = (get_current_target_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_current_target_delegate)); if (_pa == IntPtr.Zero) { _da = d; _pa = p; } } return(d(self)); }
public static cef_domnode_t* get_current_target(cef_domevent_t* self) { get_current_target_delegate d; var p = self->_get_current_target; if (p == _pa) { d = _da; } else { d = (get_current_target_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_current_target_delegate)); if (_pa == IntPtr.Zero) { _da = d; _pa = p; } } return d(self); }