d_free

Function d_free 

Source
pub unsafe fn d_free(ptr: *mut c_void) -> Result<(), MemoryError>
Expand description

ยงSafety

The pointer ptr must be a valid, previously allocated device pointer. The caller must ensure that ptr is not used after this function is called.