diff options
-rw-r--r-- | src/font.c | 2 | ||||
-rw-r--r-- | src/font.h | 2 | ||||
-rw-r--r-- | src/image.c | 2 | ||||
-rw-r--r-- | src/text.c | 2 | ||||
-rw-r--r-- | src/text.h | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -116,7 +116,7 @@ font_get_height(const struct font *font) void font_render(const struct font *font, png_const_colorp fg, png_const_colorp bg, - unsigned char ch, png_bytepp rows, int row, int col) + unsigned char ch, png_byte **rows, int row, int col) { size_t y; size_t r; @@ -45,6 +45,6 @@ font_get_height(const struct font *font) __attribute__((pure)); void font_render(const struct font *font, png_const_colorp fg, png_const_colorp bg, - unsigned char ch, png_bytepp rows, int row, int col); + unsigned char ch, png_byte **rows, int row, int col); #endif /* FONT_H_ */ diff --git a/src/image.c b/src/image.c index 626ffa7..a794d16 100644 --- a/src/image.c +++ b/src/image.c @@ -87,7 +87,7 @@ image_render(struct image *image, const struct text *text, { size_t width; size_t height; - png_bytepp rows; + png_byte **rows; size_t i; assert(image); @@ -150,7 +150,7 @@ text_set_height(struct text *text, size_t height) } void -text_render(const struct text *text, const struct font *font, png_bytepp rows) +text_render(const struct text *text, const struct font *font, png_byte **rows) { unsigned char *string_start; unsigned char *string; @@ -46,7 +46,7 @@ size_t text_set_height(struct text *text, size_t height); void -text_render(const struct text *text, const struct font *font, png_bytepp rows); +text_render(const struct text *text, const struct font *font, png_byte **rows); struct text * text_destroy(struct text **text_p); |