| 32 | } |
| 33 | |
| 34 | void *realloc(void *rmem, size_t newsize) |
| 35 | { |
| 36 | #ifdef RT_USING_HEAP |
| 37 | return rt_realloc(rmem, newsize); |
| 38 | #else |
| 39 | _NO_HEAP_ERROR(); |
| 40 | return RT_NULL; |
| 41 | #endif |
| 42 | } |
| 43 | |
| 44 | void *calloc(size_t nelem, size_t elsize) |
| 45 | { |
nothing calls this directly
no test coverage detected