X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fstruct%2Fheap.c;h=4c00bd7ca0ed1ebd3b24a6048b6b8f26b8112d24;hb=15810459b8f5fb09b12cef6f8e4d4e64d167087b;hp=4800f1b2048af44c87091ea2afbae58e85f4f812;hpb=3ddeb9de20be4bd5a8b9dd393cadeb2e4cfaf626;p=bertos.git diff --git a/bertos/struct/heap.c b/bertos/struct/heap.c index 4800f1b2..4c00bd7c 100644 --- a/bertos/struct/heap.c +++ b/bertos/struct/heap.c @@ -204,6 +204,9 @@ size_t heap_freeSpace(struct Heap *h) #if CONFIG_HEAP_MALLOC +/** + * Standard malloc interface + */ void *heap_malloc(struct Heap* h, size_t size) { size_t *mem; @@ -215,6 +218,9 @@ void *heap_malloc(struct Heap* h, size_t size) return mem; } +/** + * Standard calloc interface + */ void *heap_calloc(struct Heap* h, size_t size) { void *mem;