summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Fox <dyntryx@gmail.com>2008-06-18 23:30:19 +0000
committerSean Fox <dyntryx@gmail.com>2008-06-18 23:30:19 +0000
commit82d827c12a0a1ddcfbbe04617ba782e3f3fcebdd (patch)
treee7fd9ea4a6fdc458698c74e0d7cfc3215c60233b
parent626322242275de7e7084b46c5ada9b14a4c9d4b2 (diff)
downloadlibnsbmp-82d827c12a0a1ddcfbbe04617ba782e3f3fcebdd.tar.gz
libnsbmp-82d827c12a0a1ddcfbbe04617ba782e3f3fcebdd.tar.bz2
More naming convention changes to the header to squash compiler errors
svn path=/branches/dynis/libnsbmp/; revision=4398
-rw-r--r--libnsbmp.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/libnsbmp.h b/libnsbmp.h
index 1708d08..610be0d 100644
--- a/libnsbmp.h
+++ b/libnsbmp.h
@@ -49,21 +49,21 @@ typedef enum {
/* API for Bitmap callbacks
*/
-typedef void* (*bitmap_cb_create)(int width, int height, unsigned int state);
-typedef void (*bitmap_cb_destroy)(void *bitmap);
-typedef void (*bitmap_cb_set_suspendable)(void *bitmap, void *private_word,
+typedef void* (*bmp_bitmap_cb_create)(int width, int height, unsigned int state);
+typedef void (*bmp_bitmap_cb_destroy)(void *bitmap);
+typedef void (*bmp_bitmap_cb_set_suspendable)(void *bitmap, void *private_word,
void (*invalidate)(void *bitmap, void *private_word));
-typedef char* (*bitmap_cb_get_buffer)(void *bitmap);
-typedef size_t (*bitmap_cb_get_rowstride)(void *bitmap);
+typedef char* (*bmp_bitmap_cb_get_buffer)(void *bitmap);
+typedef size_t (*bmp_bitmap_cb_get_rowstride)(void *bitmap);
/* The Bitmap callbacks function table
*/
typedef struct bmp_bitmap_callback_vt_s {
- bitmap_cb_create bitmap_create; /**< Create a bitmap. */
- bitmap_cb_destroy bitmap_destroy; /**< Free a bitmap. */
- bitmap_cb_set_suspendable bitmap_set_suspendable; /**< The bitmap image can be suspended. */
- bitmap_cb_get_buffer bitmap_get_buffer; /**< Return a pointer to the pixel data in a bitmap. */
- bitmap_cb_get_rowstride bitmap_get_rowstride; /**< Find the width of a pixel row in bytes. */
+ bmp_bitmap_cb_create bitmap_create; /**< Create a bitmap. */
+ bmp_bitmap_cb_destroy bitmap_destroy; /**< Free a bitmap. */
+ bmp_bitmap_cb_set_suspendable bitmap_set_suspendable; /**< The bitmap image can be suspended. */
+ bmp_bitmap_cb_get_buffer bitmap_get_buffer; /**< Return a pointer to the pixel data in a bitmap. */
+ bmp_bitmap_cb_get_rowstride bitmap_get_rowstride; /**< Find the width of a pixel row in bytes. */
} bmp_bitmap_callback_vt;
struct bmp_image {