docs/Writerside/topics/allocator.h.md

branch
docs/3.1
changeset 1174
ee473780cc0d
parent 1171
155bc3b0dcb3
equal deleted inserted replaced
1173:99fc65d2d22b 1174:ee473780cc0d
10 A general sketch that illustrates how to do this can be found [below](#custom-allocator). 10 A general sketch that illustrates how to do this can be found [below](#custom-allocator).
11 11
12 ## Overview 12 ## Overview
13 13
14 ```C 14 ```C
15 #include <cx/allocator.h>
16
15 void *cxMalloc(const CxAllocator *allocator, size_t n); 17 void *cxMalloc(const CxAllocator *allocator, size_t n);
16 18
17 void *cxCalloc(const CxAllocator *allocator, 19 void *cxCalloc(const CxAllocator *allocator,
18 size_t nmemb, size_t size); 20 size_t nmemb, size_t size);
19 21

mercurial