| 2618 | } |
| 2619 | |
| 2620 | unsigned lodepng_chunk_create(unsigned char** out, size_t* outsize, |
| 2621 | unsigned length, const char* type, const unsigned char* data) { |
| 2622 | ucvector v = ucvector_init(*out, *outsize); |
| 2623 | unsigned error = lodepng_chunk_createv(&v, length, type, data); |
| 2624 | *out = v.data; |
| 2625 | *outsize = v.size; |
| 2626 | return error; |
| 2627 | } |
| 2628 | |
| 2629 | /* ////////////////////////////////////////////////////////////////////////// */ |
| 2630 | /* / Color types, channels, bits / */ |
nothing calls this directly
no test coverage detected