#[unsafe(no_mangle)]pub unsafe extern "C" fn openbim_ifc_v0_1_model_set_properties(
model: OpenbimIfcModel,
nodes: *const OpenbimIfcValueNode,
node_count: usize,
strings: *const u8,
string_len: usize,
out_properties: *mut u64,
properties_capacity: usize,
out_count: *mut usize,
) -> OpenbimIfcStatusExpand description
Apply the edits on the tape as one checked transaction: all of them, in order, or none, and the model unchanged.
out_count gets the number of edits. out_properties gets, per edit,
the id of the entity holding the property afterwards, or 0 when the
batch leaves none; with properties_capacity below the edit count the
call returns BufferTooSmall and applies nothing.
InvalidArgument or InvalidValue for a malformed tape;
MissingEntity, WrongEntityType, UnsupportedSchema, InvalidValue,
TemplateViolation, MissingProperty, Unsupported, InvalidModel,
FeatureDisabled as the shared codes say.
ยงSafety
nodes valid for node_count reads and strings for string_len
(either null when its length is 0); out_properties null with capacity
0, or valid for properties_capacity writes; out_count valid for one
write.