Function mentat_ffi::entity_builder_commit [] [src]

#[no_mangle]
pub unsafe extern "C" fn entity_builder_commit<'a, 'c>(
    builder: *mut EntityBuilder<InProgressBuilder<'a, 'c>>,
    error: *mut ExternError
) -> *mut TxReport

Transacts and commits all the assertions and retractions that have been performed using this builder.

This consumes the builder and the enclosed InProgress transaction.

TODO: Document the errors that can result from transact