Skip to main content

obj_close

Function obj_close 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn obj_close(db: *mut obj_db_t)
Expand description

Close a database handle. Null-tolerant.

§Safety

  • If non-null, db must have been returned by obj_open / obj_open_with_config and not yet freed. After this call returns the pointer is dangling — the caller must not use it again.