ket_process_metadata_json

Function ket_process_metadata_json 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ket_process_metadata_json( process: &mut Process, buffer: *mut u8, buffer_size: usize, write_size: &mut usize, ) -> i32
Expand description

Gets the JSON representation of the metadata in the Process instance.

§Arguments

  • process - [in] A mutable reference to the Process instance.
  • buffer - [in/out] A mutable pointer to a buffer to store the JSON representation.
  • buffer_size - [in] The size of the provided buffer.
  • write_size - [out] A mutable pointer to the actual size of the written data.

§Returns

An integer representing the error code. 0 indicates success.

§Safety

This function is marked as unsafe due to the use of raw pointers.