Function sentry_contrib_native_sys::options_add_attachment [−][src]
pub unsafe extern "C" fn options_add_attachment(
opts: *mut Options,
path: *const c_char
)
Adds a new attachment to be sent along.
path
is assumed to be in platform-specific filesystem path encoding.
API Users on windows are encouraged to use
sentry_options_add_attachmentw
instead.