From c800fec625521c9cb791d69933c8084e390c2bd0 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 26 Feb 2022 14:49:53 +0000 Subject: API: Consistent typedef naming convention. --- test/nsgif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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; -- cgit v1.2.3