#[no_mangle]
pub extern "C" fn pactffi_async_message_set_description(
message: *mut AsynchronousMessage,
description: *const c_char,
) -> c_int
Expand description
Write the description
field on the AsynchronousMessage
.
§Safety
description
must contain valid UTF-8. Invalid UTF-8
will be replaced with U+FFFD REPLACEMENT CHARACTER.
This function will only reallocate if the new string does not fit in the existing buffer.
§Error Handling
Errors will be reported with a non-zero return value.