X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fstruct%2Fheap.c;h=4c00bd7ca0ed1ebd3b24a6048b6b8f26b8112d24;hb=1c11ac0ab0636d07db3899b02c5d89e2d0b020bc;hp=4800f1b2048af44c87091ea2afbae58e85f4f812;hpb=accac3bd1ef084179fabb215f4c09b0e8ba64b37;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;