diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2016-01-15 16:16:10 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2016-01-15 16:16:10 +0000 |
commit | 58fe28b650dfcdd3efe78fb0559cab5b7e811bb5 (patch) | |
tree | 73d290727b720e39b36c8165e1ea9202374726f3 /src/util.h | |
parent | efa33ab844a09f05907a5de2d66ed7331c4f8ec9 (diff) | |
parent | 1ae8a7fe6030771352e347e7564639ea181802ba (diff) | |
download | imv-58fe28b650dfcdd3efe78fb0559cab5b7e811bb5.tar.gz |
Merge pull request #76 from czarkoff/loader
Loading image data from standard input
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> +/* Read binary data from stdin into buffer */ +size_t read_from_stdin(void **buffer); + /* Creates a new SDL_Texture* containing a chequeboard texture */ SDL_Texture *create_chequered(SDL_Renderer *renderer); |