libansilove

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

commit 8a58b60d9eef5f68a4c977f75c719e45371aec0d
parent ff6cd9351a571c846e5aa1e68d8f6aec77a08a3a
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed,  4 Jul 2018 10:51:26 +0200

Define some error codes

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

diff --git a/include/ansilove.h b/include/ansilove.h @@ -16,6 +16,11 @@ #include <stddef.h> #include <stdint.h> +#define INVALID_PARAM 1 +#define FORMAT_ERROR 2 +#define MEMORY_ERROR 3 +#define GD_ERROR 4 + struct ansilove_ctx { unsigned char *buffer; size_t length;