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