dynamically allocates a new string with a copy of the null terminated input text */
| 332 | |
| 333 | /* dynamically allocates a new string with a copy of the null terminated input text */ |
| 334 | static char* alloc_string(const char* in) { |
| 335 | return alloc_string_sized(in, lodepng_strlen(in)); |
| 336 | } |
| 337 | #endif /*LODEPNG_COMPILE_ANCILLARY_CHUNKS*/ |
| 338 | #endif /*LODEPNG_COMPILE_PNG*/ |
| 339 |
no test coverage detected