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>>
) -> *mut ExternResult

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

This consumes the builder and the enclosed InProgress transaction.

Returns a Result as an ExternResult.

TODO: Document the errors that can result from transact