pub type AParcel_stringArrayAllocator = Option<unsafe extern "C" fn(arrayData: *mut c_void, length: i32) -> bool>;
Expand description
This is called to allocate an array of size ‘length’. If length is -1, then a ‘null’ array (or equivalent) should be created.
See also AParcel_readStringArray
\param arrayData some external representation of an array \param length the length to allocate this array to
\return true if allocation succeeded. If length is -1, a true return here means that a ‘null’ value (or equivalent) was successfully stored.
Aliased Type§
enum AParcel_stringArrayAllocator {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: i32) -> bool),
}