dynamically allocates a new string with a copy of the null terminated input text */
| 307 | |
| 308 | /* dynamically allocates a new string with a copy of the null terminated input text */ |
| 309 | static char* alloc_string(const char* in) { |
| 310 | return alloc_string_sized(in, lodepng_strlen(in)); |
| 311 | } |
| 312 | #endif /*LODEPNG_COMPILE_ANCILLARY_CHUNKS*/ |
| 313 | #endif /*LODEPNG_COMPILE_PNG*/ |
| 314 |
no test coverage detected