Function pact_ffi::models::async_message::pactffi_async_message_get_contents
source · #[no_mangle]
pub extern "C" fn pactffi_async_message_get_contents(
message: *const AsynchronousMessage,
) -> *const MessageContents
Expand description
Get the message contents of an AsynchronousMessage
as a MessageContents
pointer.
§Safety
The data pointed to by the pointer this function returns will be deleted when the message is deleted. Trying to use if after the message is deleted will result in undefined behaviour.
§Error Handling
If the message is NULL, returns NULL.