diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-12-29 11:18:04 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-12-29 11:18:04 +0100 |
commit | c8a110cdeca8c23b88d6908f0b06231847c9e722 (patch) | |
tree | 525313eb4007aab6a318c038f5fae0984ccb532a /sprite.h | |
parent | 1f00b2bb92cd4bcfcc4c24806df71a453f481f34 (diff) |
Enable retrieving of sprite image length
Without having to know the name of the symbol at compile time...
Diffstat (limited to 'sprite.h')
-rw-r--r-- | sprite.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; +}; |