| 11 | /////////////////////////////////////////// |
| 12 | |
| 13 | void *sk_malloc(size_t bytes) { |
| 14 | void *result = malloc(bytes); |
| 15 | if (result == nullptr && bytes > 0) { |
| 16 | fprintf(stderr, "Memory alloc failed!"); |
| 17 | abort(); |
| 18 | } |
| 19 | return result; |
| 20 | } |
| 21 | |
| 22 | /////////////////////////////////////////// |
| 23 |
no outgoing calls
no test coverage detected