Constant libceed_sys::bind_ceed::CeedCopyMode_CEED_OWN_POINTER[][src]

pub const CeedCopyMode_CEED_OWN_POINTER: CeedCopyMode = 2;
Expand description

Implementation takes ownership of the pointer and will free using CeedFree() when done using it. The user should not assume that the pointer remains valid after ownership has been transferred. Note that arrays allocated using C++ operator new or other allocators cannot generally be freed using CeedFree(). CeedFree() is capable of freeing any memory that can be freed using free(3).