returns 1 if success, 0 if failure ==> nothing done*/
| 263 | #if (defined(LODEPNG_COMPILE_PNG) && defined(LODEPNG_COMPILE_ANCILLARY_CHUNKS)) || defined(LODEPNG_COMPILE_ENCODER) |
| 264 | /*returns 1 if success, 0 if failure ==> nothing done*/ |
| 265 | static unsigned ucvector_push_back(ucvector* p, unsigned char c) |
| 266 | { |
| 267 | if(!ucvector_resize(p, p->size + 1)) return 0; |
| 268 | p->data[p->size - 1] = c; |
| 269 | return 1; |
| 270 | } |
| 271 | #endif /*defined(LODEPNG_COMPILE_PNG) || defined(LODEPNG_COMPILE_ENCODER)*/ |
| 272 | |
| 273 |
no test coverage detected