diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-18 02:43:45 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-18 02:43:45 (EDT) |
commit | c5da456687d8b51d8d2360cabc1966387ebc72b9 (patch) | |
tree | 23f97459ec1fcb4f4620e6985fa632e353e03a6f /src/font.h | |
parent | f0351693ac1558505cf15c61c3ea4a1f12c3d67b (diff) |
font_*(), text_*(), image_*(): Add const qualifiers
Diffstat (limited to 'src/font.h')
-rw-r--r-- | src/font.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -30,13 +30,13 @@ struct font * font_find(const char *name) __attribute__((pure)); int -font_get_width(struct font *font) __attribute__((pure)); +font_get_width(const struct font *font) __attribute__((pure)); int -font_get_height(struct font *font) __attribute__((pure)); +font_get_height(const struct font *font) __attribute__((pure)); void -font_render(struct font *font, png_const_colorp fg, png_const_colorp bg, +font_render(const struct font *font, png_const_colorp fg, png_const_colorp bg, unsigned char ch, png_bytepp rows, int row, int col); #endif /* FONT_H_ */ |