-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_Dup
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Duplicate a buffer.
void *MTY_Dup(
const void * mem,
size_t size
);
mem
(const void *
)
Buffer to duplicate.
size
(size_t
)
Size in bytes of mem
.
void *
This function can not return NULL
. It will call abort()
on failure.
The returned buffer must be destroyed with MTY_Free
.