summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-02-26 14:49:53 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-02-26 17:39:49 +0000
commitc800fec625521c9cb791d69933c8084e390c2bd0 (patch)
tree78dce0acd974409e18f7391fd719ba69929f8c44 /test
parentba2037410035d5b95e7458576654f8122ec581ac (diff)
downloadlibnsgif-c800fec625521c9cb791d69933c8084e390c2bd0.tar.gz
libnsgif-c800fec625521c9cb791d69933c8084e390c2bd0.tar.bz2
API: Consistent typedef naming convention.
Diffstat (limited to 'test')
-rw-r--r--test/nsgif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/nsgif.c b/test/nsgif.c
index 23fd3f3..50b75b0 100644
--- a/test/nsgif.c
+++ b/test/nsgif.c
@@ -156,7 +156,7 @@ static void print_gif_frame_info(const nsgif_frame_info_t *info)
fprintf(stdout, " h: %"PRIu32"\n", info->rect.y1 - info->rect.y0);
}
-static void decode(FILE* ppm, const char *name, nsgif *gif)
+static void decode(FILE* ppm, const char *name, nsgif_t *gif)
{
nsgif_error err;
uint32_t frame_prev = 0;
@@ -185,7 +185,7 @@ static void decode(FILE* ppm, const char *name, nsgif *gif)
const uint8_t *image;
uint32_t frame_new;
uint32_t delay_cs;
- nsgif_rect area;
+ nsgif_rect_t area;
err = nsgif_frame_prepare(gif, &area,
&delay_cs, &frame_new);
@@ -244,8 +244,8 @@ int main(int argc, char *argv[])
.destroy = bitmap_destroy,
.get_buffer = bitmap_get_buffer,
};
- nsgif *gif;
size_t size;
+ nsgif_t *gif;
uint8_t *data;
nsgif_error err;
FILE *ppm = NULL;