Function capeCreateObject

Source
#[no_mangle]
pub extern "C" fn capeCreateObject(
    uuid: *const CapeUUID,
    ptr: *mut *mut ICapeInterface,
) -> CapeResult
Expand description

COBIA PMC object creation entry point

This function is called by the COBIA runtime to create an instance of a PMC object.

§Arguments

  • uuid - A pointer to the UUID of the PMC object to create.
  • ptr - A mutable pointer to a pointer where the created object will be stored.

§Returns

  • A CapeResult indicating success or failure of the object creation.