rwops_zlib: remove unused API

This commit is contained in:
Andrei Alexeyev 2021-03-23 09:46:26 +02:00
parent a60a1e270b
commit 248b96e95d
No known key found for this signature in database
GPG key ID: 72D26128040B9690
3 changed files with 3 additions and 8 deletions

View file

@ -10,6 +10,7 @@
#include <locale.h>
#include <png.h>
#include <zlib.h>
#include "global.h"
#include "video.h"

View file

@ -318,7 +318,3 @@ SDL_RWops* SDL_RWWrapZWriter(SDL_RWops *src, size_t bufsize, bool autoclose) {
return rw;
}
z_stream* SDL_RWGetZStream(SDL_RWops *rw) {
return ZDATA(rw)->stream;
}

View file

@ -12,10 +12,8 @@
#include "taisei.h"
#include <SDL.h>
#include <zlib.h>
SDL_RWops* SDL_RWWrapZReader(SDL_RWops *src, size_t bufsize, bool autoclose);
SDL_RWops* SDL_RWWrapZWriter(SDL_RWops *src, size_t bufsize, bool autoclose);
z_stream* SDL_RWGetZStream(SDL_RWops *src);
SDL_RWops *SDL_RWWrapZReader(SDL_RWops *src, size_t bufsize, bool autoclose);
SDL_RWops *SDL_RWWrapZWriter(SDL_RWops *src, size_t bufsize, bool autoclose);
#endif // IGUARD_rwops_rwops_zlib_h