#[no_mangle]
pub extern "C" fn pactffi_sync_message_get_response_contents(
    message: *const SynchronousMessage,
    index: size_t
) -> *const MessageContents
Expand description

Get the response contents of an SynchronousMessage 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 or the index is not valid, returns NULL.