From 26892cfd4f011c0a75456b9bc264501157de0a88 Mon Sep 17 00:00:00 2001 From: Sean Fox Date: Wed, 18 Jun 2008 23:30:44 +0000 Subject: More naming convention changes to the header to squash compiler errors svn path=/branches/dynis/libnsgif/; revision=4399 --- libnsgif.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'libnsgif.h') diff --git a/libnsgif.h b/libnsgif.h index dd5d759..f05df71 100644 --- a/libnsgif.h +++ b/libnsgif.h @@ -58,22 +58,22 @@ typedef struct gif_frame { /* API for Bitmap callbacks */ -typedef void* (*bitmap_cb_create)(int width, int height); -typedef void (*bitmap_cb_destroy)(void *bitmap); -typedef char* (*bitmap_cb_get_buffer)(void *bitmap); -typedef void (*bitmap_cb_set_opaque)(void *bitmap, bool opaque); -typedef bool (*bitmap_cb_test_opaque)(void *bitmap); -typedef void (*bitmap_cb_modified)(void *bitmap); +typedef void* (*gif_bitmap_cb_create)(int width, int height); +typedef void (*gif_bitmap_cb_destroy)(void *bitmap); +typedef char* (*gif_bitmap_cb_get_buffer)(void *bitmap); +typedef void (*gif_bitmap_cb_set_opaque)(void *bitmap, bool opaque); +typedef bool (*gif_bitmap_cb_test_opaque)(void *bitmap); +typedef void (*gif_bitmap_cb_modified)(void *bitmap); /* The Bitmap callbacks function table */ typedef struct gif_bitmap_callback_vt_s { - bitmap_cb_create bitmap_create; /**< Create a bitmap. */ - bitmap_cb_destroy bitmap_destroy; /**< Free a bitmap. */ - bitmap_cb_get_buffer bitmap_get_buffer; /**< Return a pointer to the pixel data in a bitmap. */ - bitmap_cb_set_opaque bitmap_set_opaque; /**< Sets whether a bitmap should be plotted opaque. */ - bitmap_cb_test_opaque bitmap_test_opaque; /**< Tests whether a bitmap has an opaque alpha channel. */ - bitmap_cb_modified bitmap_modified; /**< The bitmap image has changed, so flush any persistant cache. */ + gif_bitmap_cb_create bitmap_create; /**< Create a bitmap. */ + gif_bitmap_cb_destroy bitmap_destroy; /**< Free a bitmap. */ + gif_bitmap_cb_get_buffer bitmap_get_buffer; /**< Return a pointer to the pixel data in a bitmap. */ + gif_bitmap_cb_set_opaque bitmap_set_opaque; /**< Sets whether a bitmap should be plotted opaque. */ + gif_bitmap_cb_test_opaque bitmap_test_opaque; /**< Tests whether a bitmap has an opaque alpha channel. */ + gif_bitmap_cb_modified bitmap_modified; /**< The bitmap image has changed, so flush any persistant cache. */ } gif_bitmap_callback_vt; /* The GIF animation data -- cgit v1.2.3