Mercurial > hg > dmlib
diff minijss/jss.h @ 2586:9807ae37ad69
Require stdbool.h, we require C11 now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2022 15:59:22 +0200 |
parents | d6b9410f1b1b |
children |
line wrap: on
line diff
--- a/minijss/jss.h Thu Dec 08 15:56:36 2022 +0200 +++ b/minijss/jss.h Thu Dec 08 15:59:22 2022 +0200 @@ -72,8 +72,8 @@ /* Error handling routines and related variables */ #ifndef JSS_LIGHT -extern BOOL jssWarningIsFatal, // if TRUE, warnings are considered fatal -> function returns - jssErrorIsFatal; // if FALSE, error is considered non-fatal. this may cause strange problems. +extern bool jssWarningIsFatal, // if true, warnings are considered fatal -> function returns + jssErrorIsFatal; // if false, error is considered non-fatal. this may cause strange problems. extern void (*jssError)(int code, const char *filename, int linen, const char *fmt, ...); extern void (*jssWarning)(int code, const char *filename, int linen, const char *fmt, ...);