Function mentat_ffi::store_entity_builder_from_entid [] [src]

#[no_mangle]
pub unsafe extern "C" fn store_entity_builder_from_entid<'a, 'c>(
    store: *mut Store,
    entid: c_longlong,
    error: *mut ExternError
) -> *mut EntityBuilder<InProgressBuilder<'a, 'c>>

Starts a new transaction and creates a builder for an entity with entid using the transaction to allow for programmatic assertion of values for that entity.

Safety

Callers are responsible for managing the memory for the return value. A destructor entity_builder_destroy is provided for releasing the memory for this pointer type.