#[unsafe(no_mangle)]pub unsafe extern "C" fn obj_txn_commit(
txn: *mut obj_write_txn_t,
) -> obj_error_tExpand description
Commit a write transaction. Consumes the handle — the C
caller MUST NOT touch txn again after this returns.
§Safety
txn must be a non-null handle returned by
obj_txn_begin_write and not yet committed / rolled back.