public static cef_string_userfree *get_full_path(cef_download_item_t *self) { get_full_path_delegate d; var p = self->_get_full_path; if (p == _pd) { d = _dd; } else { d = (get_full_path_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_full_path_delegate)); if (_pd == IntPtr.Zero) { _dd = d; _pd = p; } } return(d(self)); }
public static cef_string_userfree* get_full_path(cef_download_item_t* self) { get_full_path_delegate d; var p = self->_get_full_path; if (p == _pd) { d = _dd; } else { d = (get_full_path_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_full_path_delegate)); if (_pd == IntPtr.Zero) { _dd = d; _pd = p; } } return d(self); }