From c8a110cdeca8c23b88d6908f0b06231847c9e722 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Thu, 29 Dec 2016 11:18:04 +0100 Subject: Enable retrieving of sprite image length Without having to know the name of the symbol at compile time... --- sprite.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sprite.h (limited to 'sprite.h') diff --git a/sprite.h b/sprite.h new file mode 100644 index 0000000..e901c9a --- /dev/null +++ b/sprite.h @@ -0,0 +1,6 @@ +#pragma once + +struct Sprite{ + const unsigned char *image; + unsigned int image_len; +}; -- cgit v1.2.3-70-g09d2