nxt.qcmeman

Qualified C memory management, being pure nothrow @nogc and, when possible, @trusted.

See std.internal.memory for Phobos's way of doing this.

TODO: Use pureMalloc and pureFree instead and remove this module.

Members

Functions

alloca
void* alloca(size_t length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
calloc
void* calloc(size_t nmemb, size_t size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
free
void free(void* ptr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
gc_addRange
void gc_addRange(void* p, size_t sz, TypeInfo ti)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
gc_removeRange
void gc_removeRange(void* p)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
malloc
void* malloc(size_t size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
pureFree
void pureFree(void* ptr)

Pure variants of C's memory allocation functions malloc, calloc, and realloc and deallocation function free.

realloc
void* realloc(void* ptr, size_t size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta