taisei/src/util/pngcruft.h

24 lines
682 B
C
Raw Normal View History

/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
2019-07-03 20:00:56 +02:00
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_util_pngcruft_h
#define IGUARD_util_pngcruft_h
#include "taisei.h"
#include <png.h>
#include <SDL.h>
void pngutil_init_rwops_read(png_structp png, SDL_RWops *rwops);
void pngutil_init_rwops_write(png_structp png, SDL_RWops *rwops);
void pngutil_setup_error_handlers(png_structp png);
png_structp pngutil_create_read_struct(void);
png_structp pngutil_create_write_struct(void);
#endif // IGUARD_util_pngcruft_h