docs/Writerside/topics/allocator.h.md

changeset 1319
aa1f580f8f59
parent 1318
12fa1d37fe48
--- a/docs/Writerside/topics/allocator.h.md	Thu May 15 16:02:54 2025 +0200
+++ b/docs/Writerside/topics/allocator.h.md	Thu May 15 16:12:09 2025 +0200
@@ -47,6 +47,15 @@
 
 // default allocator that can be changed
 CxAllocator *cxDefaultAllocator = cxStdlibAllocator;
+
+// Convenience macros that invokes above functions with the cxDefaultAllocator.
+#define cxMallocDefault(...)
+#define cxCallocDefault(...)
+#define cxReallocDefault(...)
+#define cxReallocateDefault(...)
+#define cxReallocateArrayDefault(...)
+#define cxReallocArrayDefault(...)
+#define cxFreeDefault(...)
 ```
 
 > All UCX functions that are not _explicitly_ designed for taking an allocator argument

mercurial