Function bp7::ffi::bundle_is_valid

source ·
#[no_mangle]
pub unsafe extern "C" fn bundle_is_valid(bndl: *mut Bundle) -> bool
Expand description

Check if a given bundle is valid. This checks the primary block as well as the validity of all canonical bundles.

Safety

Should only be called from FFI interface. This function can lead to UB as pointer cannot be validated!