aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2016-01-15 16:16:10 +0000
committerHarry Jeffery <harry@exec64.co.uk>2016-01-15 16:16:10 +0000
commit58fe28b650dfcdd3efe78fb0559cab5b7e811bb5 (patch)
tree73d290727b720e39b36c8165e1ea9202374726f3 /src/util.h
parentefa33ab844a09f05907a5de2d66ed7331c4f8ec9 (diff)
parent1ae8a7fe6030771352e347e7564639ea181802ba (diff)
downloadimv-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 3625a6c..09d5554 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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);