| 44 | } |
| 45 | |
| 46 | __attribute__((weak, export_name("cabi_realloc"))) |
| 47 | void *cabi_realloc(void *ptr, size_t orig_size, size_t org_align, size_t new_size) { |
| 48 | void *ret = realloc(ptr, new_size); |
| 49 | if (!ret) abort(); |
| 50 | return ret; |
| 51 | } |
| 52 | |
| 53 | // Helper Functions |
| 54 |
no outgoing calls
no test coverage detected