Function pact_matching_ffi::models::message::message_set_description [−][src]
#[no_mangle] pub extern "C" fn message_set_description(
message: *mut Message,
description: *const c_char
) -> c_int
Expand description
Write the description
field on the Message
.
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.