unsafe extern "C" fn release_array(array: *mut FFI_ArrowArray) {
    if array.is_null() {
        return;
    }
    let array = &mut *array;

    // take ownership of `private_data`, therefore dropping it`
    let private = Box::from_raw(array.private_data as *mut PrivateData);
    for child in private.children.iter() {
        let _ = Box::from_raw(*child);
    }

    array.release = None;
}
// callback used to drop [FFI_ArrowArray] when it is exported
callback used to drop [FFI_ArrowArray] when it is exported
callback used to drop [ FFI_ArrowArray ] when it is exported
unsafe extern "C" fn release_array(array: *mut FFI_ArrowArray) {
    if array.is_null() {
        return;
    }
    let array = &mut *array;
    // take ownership of `private_data`, therefore dropping it`
    let private = Box::from_raw(array.private_data as *mut PrivateData);
    for child in private.children.iter() {
        let _ = Box::from_raw(*child);
    }
    array.release = None;
}
unsafe extern " " fn release_array ( array : * mut FFI_ArrowArray ) { if array . is_null ( ) { return ; } let array = & mut * array ; // take ownership of `private_data`, therefore dropping it` let private = Box :: from_raw ( array . private_data as * mut PrivateData ) ; for child in private . children . iter ( ) { let _ = Box :: from_raw ( * child ) ; } array . release = None ; }
callback used to drop [FFI_ArrowArray] when it is exported
callback used to drop [ FFI_ArrowArray ] when it is exported
array
*mut FFI_ArrowArray
array
*mut FFI_ArrowArray