Mercurial > hg > dmlib
comparison minijss/jss.h @ 1133:2af228303727
#ifdef out code that is not needed or used if JSS_LIGHT is defined.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Mar 2015 07:16:06 +0200 |
parents | c430112449a7 |
children | d0898867ec4c |
comparison
equal
deleted
inserted
replaced
1132:d4512925b4f9 | 1133:2af228303727 |
---|---|
69 int jssClose(void); // Shutdown. Do not call ANY JSS routines after this! | 69 int jssClose(void); // Shutdown. Do not call ANY JSS routines after this! |
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 extern BOOL jssWarningIsFatal, // if TRUE, warnings are considered fatal -> function returns | 75 extern BOOL jssWarningIsFatal, // if TRUE, warnings are considered fatal -> function returns |
75 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. |
76 | 77 |
77 #ifndef JSS_LIGHT | |
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 |
82 | 82 |