| 39 | RTM_EXPORT(malloc); |
| 40 | |
| 41 | void *realloc(void *rmem, size_t newsize) |
| 42 | { |
| 43 | #ifdef RT_USING_HEAP |
| 44 | return rt_realloc(rmem, newsize); |
| 45 | #else |
| 46 | _NO_HEAP_ERROR(); |
| 47 | return RT_NULL; |
| 48 | #endif |
| 49 | } |
| 50 | RTM_EXPORT(realloc); |
| 51 | |
| 52 | void *calloc(size_t nelem, size_t elsize) |
nothing calls this directly
no test coverage detected