libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 5406f7f8fbebe1e0c07f9071df5701a90ae87a6e
parent 274452610ee5d6b313d40df42d22c1423b2009f5
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 24 Oct 2018 22:19:56 +0200

Add comments, reorder, and change some types in structures

Diffstat:
Minclude/ansilove.h | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/ansilove.h b/include/ansilove.h @@ -59,25 +59,25 @@ struct ansilove_png { const unsigned char *buffer; - int length; + int length; /* Match the parameter type of gdImagePngPtr() */ }; struct ansilove_ctx { const unsigned char *buffer; size_t length; struct ansilove_png png; - int error; + uint32_t error; }; struct ansilove_options { - int font; - uint32_t bits; - int32_t columns; - int mode; bool diz; - bool icecolors; bool dos; + bool icecolors; bool truecolor; + int32_t columns; + uint32_t font; + uint32_t bits; + uint32_t mode; uint32_t scale_factor; };