public static cef_string_userfree *get_content_disposition(cef_download_item_t *self) { get_content_disposition_delegate d; var p = self->_get_content_disposition; if (p == _p12) { d = _d12; } else { d = (get_content_disposition_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_content_disposition_delegate)); if (_p12 == IntPtr.Zero) { _d12 = d; _p12 = p; } } return(d(self)); }
public static cef_string_userfree* get_content_disposition(cef_download_item_t* self) { get_content_disposition_delegate d; var p = self->_get_content_disposition; if (p == _p11) { d = _d11; } else { d = (get_content_disposition_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_content_disposition_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return d(self); }