#[unsafe(no_mangle)]pub unsafe extern "C" fn openbim_ifc_v0_1_model_undo(
model: OpenbimIfcModel,
nodes: *mut OpenbimIfcValueNode,
node_capacity: usize,
out_nodes_required: *mut usize,
strings: *mut u8,
string_capacity: usize,
out_strings_required: *mut usize,
) -> OpenbimIfcStatusExpand description
Restore the model to the state before the last recorded change: entities
under their ids and at their file positions, the header included. The
answer is a HistoryChange tape: created, removed and modified (LISTs
of REF) and header (BOOL). A size query or a short buffer peeks the
step and answers BufferTooSmall without applying it.
HistoryEmpty with nothing to undo (history off, or the stack empty);
HistoryStale when the model changed outside the history.
ยงSafety
As for openbim_ifc_v0_1_entity_attribute.