| 6 | #include <assert.h> |
| 7 | |
| 8 | void * |
| 9 | hoedown_malloc(size_t size) |
| 10 | { |
| 11 | void *ret = malloc(size); |
| 12 | |
| 13 | if (!ret) { |
| 14 | fprintf(stderr, "Allocation failed.\n"); |
| 15 | abort(); |
| 16 | } |
| 17 | |
| 18 | return ret; |
| 19 | } |
| 20 | |
| 21 | void * |
| 22 | hoedown_calloc(size_t nmemb, size_t size) |
no outgoing calls
no test coverage detected