summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Fox <dyntryx@gmail.com>2008-07-01 10:28:13 +0000
committerSean Fox <dyntryx@gmail.com>2008-07-01 10:28:13 +0000
commit007b7bd0598842d8ce144c05a7cf1ba2242db38f (patch)
tree614b9e30e6108663063585baa5e7e491a35c9d7f
parent46ace4776ee4bdb421810c492641aea987289310 (diff)
downloadlibnsbmp-007b7bd0598842d8ce144c05a7cf1ba2242db38f.tar.gz
libnsbmp-007b7bd0598842d8ce144c05a7cf1ba2242db38f.tar.bz2
Moved *bmp_data just below bitmap_callbacks in the bmp_image structure
svn path=/branches/dynis/libnsbmp/; revision=4487
-rw-r--r--libnsbmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnsbmp.h b/libnsbmp.h
index c11a047..9e9f92f 100644
--- a/libnsbmp.h
+++ b/libnsbmp.h
@@ -69,11 +69,11 @@ typedef struct bmp_bitmap_callback_vt_s {
typedef struct bmp_image {
bmp_bitmap_callback_vt bitmap_callbacks; /**< callbacks for bitmap functions */
+ uint8_t *bmp_data; /** pointer to BMP data */
uint16_t width; /** width of BMP (valid after _analyse) */
uint16_t height; /** heigth of BMP (valid after _analyse) */
bool decoded; /** whether the image has been decoded */
void *bitmap; /** decoded image */
- uint8_t *bmp_data; /** pointer to BMP data */
/** Internal members are listed below
*/
uint32_t buffer_size; /** total number of bytes of BMP data available */