Skip to main content

openbim_ifc_v0_1_name_based_guid

Function openbim_ifc_v0_1_name_based_guid 

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

The GlobalId named by parts (RFC 9562 version 8), NUL-terminated: the same parts give the same GlobalId in every binding and release. parts holds part_count UTF-8 strings of part_lengths[i] bytes each. Needs no model; InvalidArgument for a part that is not UTF-8.

ยงSafety

parts and part_lengths null (with part_count 0) or valid for part_count reads, each part valid for its length; buffer and out_required as for openbim_ifc_v0_1_new_guid.