[−][src]Function battery_ffi::battery_free
#[no_mangle]pub unsafe extern "C" fn battery_free(ptr: *mut Battery)
Frees battery instance.
Caller is required to call this function when battery pointer is not needed anymore in order to properly free memory.