| 32 | } |
| 33 | |
| 34 | void * |
| 35 | hoedown_realloc(void *ptr, size_t size) |
| 36 | { |
| 37 | void *ret = realloc(ptr, size); |
| 38 | |
| 39 | if (!ret) { |
| 40 | fprintf(stderr, "Allocation failed.\n"); |
| 41 | abort(); |
| 42 | } |
| 43 | |
| 44 | return ret; |
| 45 | } |
| 46 | |
| 47 | void |
| 48 | hoedown_buffer_init( |
no outgoing calls
no test coverage detected