ANeuralNetworksMemoryDesc_free

Function ANeuralNetworksMemoryDesc_free 

Source
pub unsafe extern "C" fn ANeuralNetworksMemoryDesc_free(
    desc: *mut ANeuralNetworksMemoryDesc,
)
Expand description

Destroy a memory descriptor.

The memory descriptor need not have been finished by a call to {@link ANeuralNetworksMemoryDesc_finish}.

See {@link ANeuralNetworksMemoryDesc} for information on multithreaded usage.

Available since API level 30.

@param desc The memory descriptor to be destroyed. Passing NULL is acceptable and results in no operation.