Skip to main content

openbim_ifc_v0_1_new_guid

Function openbim_ifc_v0_1_new_guid 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_new_guid( buffer: *mut u8, capacity: usize, out_required: *mut usize, ) -> OpenbimIfcStatus
Expand description

A new random GlobalId (RFC 9562 version 4, from the operating system’s generator) in IFC’s 22-character form, NUL-terminated: 23 bytes. Needs no model. Unsupported when the system has no random source.

§Safety

buffer null (with capacity 0) or valid for capacity writes; out_required valid for one write.