Type Alias binder_ndk_sys::AParcel_boolArrayAllocator

source ·
pub type AParcel_boolArrayAllocator = Option<unsafe extern "C" fn(arrayData: *mut c_void, length: i32) -> bool>;
Expand description

This allocates an array of size ‘length’ inside of arrayData and returns whether or not there was a success. If length is -1, then this should allocate some representation of a null array.

See also AParcel_readBoolArray

\param arrayData some external representation of an array of bool. \param length the length to allocate arrayData to (or -1 if this represents a null array).

\return whether the allocation succeeded.

Aliased Type§

enum AParcel_boolArrayAllocator {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: i32) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: i32) -> bool)

Some value of type T.