2017-11-24 15:14:10 +01:00
|
|
|
/*
|
2019-08-03 19:43:48 +02:00
|
|
|
* This software is licensed under the terms of the MIT License.
|
2017-11-24 15:14:10 +01:00
|
|
|
* See COPYING for further information.
|
|
|
|
* ---
|
2019-01-23 21:10:43 +01:00
|
|
|
* 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>.
|
2017-11-24 15:14:10 +01:00
|
|
|
*/
|
|
|
|
|
2019-01-23 21:10:43 +01:00
|
|
|
#ifndef IGUARD_util_pngcruft_h
|
|
|
|
#define IGUARD_util_pngcruft_h
|
|
|
|
|
2017-11-25 20:45:11 +01:00
|
|
|
#include "taisei.h"
|
2017-11-24 15:14:10 +01:00
|
|
|
|
2018-05-15 02:27:25 +02:00
|
|
|
#include <png.h>
|
|
|
|
#include <SDL.h>
|
2017-11-24 15:14:10 +01:00
|
|
|
|
2018-10-18 23:12:46 +02:00
|
|
|
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);
|
2019-01-23 21:10:43 +01:00
|
|
|
|
|
|
|
#endif // IGUARD_util_pngcruft_h
|