DEADSOFTWARE

files: move resource manager to system drivers
[flatwaifu.git] / src / sdl2 / streams.h
1 #ifndef D2D_SDL2_STREAMS_H_INCLUDED
2 #define D2D_SDL2_STREAMS_H_INCLUDED
4 #include <SDL2/SDL.h>
5 #include <common/streams.h>
7 typedef struct SDLRW_Stream {
8 Stream base;
9 SDL_RWops *io;
10 } SDLRW_Stream;
12 void SDLRW_Assign (SDLRW_Stream *s, SDL_RWops *io);
13 int SDLRW_Open (SDLRW_Stream *s, const char *name, const char *mode);
14 void SDLRW_Close (SDLRW_Stream *s);
16 #endif /* D2D_SDL2_STREAMS_H_INCLUDED */