png_structrp int mode
Definition png.h:1139
FILE * serd_fopen(const char *path, const char *mode)
Open a file configured for fast sequential reading.
Definition system.c:38
SERD_MALLOC_FUNC void * serd_malloc_aligned(size_t alignment, size_t size)
Allocate a buffer aligned to alignment bytes.
Definition system.c:54
SERD_MALLOC_FUNC void * serd_allocate_buffer(size_t size)
Allocate an aligned buffer for I/O.
Definition system.c:69
void serd_free_aligned(void *ptr)
Free a buffer allocated with an aligned allocation function.
Definition system.c:75