Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
2585:ef6c826c5b7a | 2586:9807ae37ad69 |
---|---|
70 | 70 |
71 | 71 |
72 /* Error handling routines and related variables | 72 /* Error handling routines and related variables |
73 */ | 73 */ |
74 #ifndef JSS_LIGHT | 74 #ifndef JSS_LIGHT |
75 extern BOOL jssWarningIsFatal, // if TRUE, warnings are considered fatal -> function returns | 75 extern bool jssWarningIsFatal, // if true, warnings are considered fatal -> function returns |
76 jssErrorIsFatal; // if FALSE, error is considered non-fatal. this may cause strange problems. | 76 jssErrorIsFatal; // if false, error is considered non-fatal. this may cause strange problems. |
77 | 77 |
78 extern void (*jssError)(int code, const char *filename, int linen, const char *fmt, ...); | 78 extern void (*jssError)(int code, const char *filename, int linen, const char *fmt, ...); |
79 extern void (*jssWarning)(int code, const char *filename, int linen, const char *fmt, ...); | 79 extern void (*jssWarning)(int code, const char *filename, int linen, const char *fmt, ...); |
80 #endif | 80 #endif |
81 | 81 |