void *pvPortCalloc(size_t num, size_t size, const char *file, unsigned line) { (void) file; (void) line; return umm_calloc(num, size); }
/* * Wrapper for `umm_calloc()` which performs additional checks */ static void *wrap_calloc(size_t num, size_t size) { free_blocks_check(); void *ret = umm_calloc(num, size); free_blocks_check(); return ret; }
void * ICACHE_RAM_ATTR calloc(size_t count, size_t size){ return umm_calloc(count, ((size + 3) & ~((size_t)0x3))); }