Skip to main content

obj_stat

Function obj_stat 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn obj_stat( db: *mut obj_db_t, out_stat: *mut obj_stat_t, ) -> obj_error_t
Expand description

Populate out_stat with a snapshot of the db’s header + collection-count summary.

§Safety

  • db must be live.
  • out_stat must be a writable obj_stat_t *.