23ML_UTILS_START_NAMESPACE
static void * duplicateMemory(const void *ptr, MLuint numBytes, MLMemoryErrorHandling handleFailure)
static void freeMemory(void *ptr)
static void * allocateMemory(MLuint numBytes, MLMemoryErrorHandling handleFailure)
static void * reallocateMemory(void *ptr, MLuint numBytes, MLMemoryErrorHandling handleFailure)
static char * duplicateString(const char *str, MLMemoryErrorHandling handleFailure)
MLMemoryErrorHandling
Enumerator to specify memory error handling.
A custom delete that can be used in std::unique_ptr and std::shared_ptr.
void operator()(void *p) const