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.
|
|
|
|
* ---
|
2024-05-16 23:30:41 +02:00
|
|
|
* Copyright (c) 2011-2024, Lukas Weber <laochailan@web.de>.
|
|
|
|
* Copyright (c) 2012-2024, Andrei Alexeyev <akari@taisei-project.org>.
|
2017-11-24 15:14:10 +01:00
|
|
|
*/
|
|
|
|
|
2021-08-12 23:09:01 +02:00
|
|
|
#pragma once
|
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);
|