| 1 | /* |
| 2 | * SideChk---A utility which tries to determine whether a given C expression |
| 3 | * is free of side effects. This can be used for verifying that macros which |
| 4 | * expand their arguments more than once are not being accidentally misused. |
| 5 | * |
| 6 | * Copyright (C) 1999 Kaz Kylheku <[email protected]> |
| 7 | * |
| 8 | * Free Software License: |
| 9 | * |
| 10 | * All rights are reserved by the author, with the following exceptions: |
| 11 | * Permission is granted to freely reproduce and distribute this software, |
| 12 | * possibly in exchange for a fee, provided that this copyright notice appears |
| 13 | * intact. Permission is also granted to adapt this software to produce |
| 14 | * derivative works, as long as the modified versions carry this copyright |
| 15 | * notice and additional notices stating that the work has been modified. |
| 16 | * This source code may be translated into executable form and incorporated |
| 17 | * into proprietary software; there is no requirement for such software to |
| 18 | * contain a copyright notice related to this source. |
| 19 | * |
| 20 | */ |
| 21 | |
| 22 | #ifndef SFX_H |
| 23 | #define SFX_Hcxx . . $ `libutil/kazlib/sfx.h:23:9`! |
| 24 | |
| 25 | #include <assert.h> |
| 26 | |
| 27 | #ifdef __cplusplus |
| 28 | extern "C" { |
| 29 | #endif |
| 30 | |
| 31 | typedef enumcxx . . $ $anonymous_type_4af6c524aab2f06_0# { |
| 32 | sfx_nonecxx . . $ sfx_none., sfx_potentialcxx . . $ sfx_potential., sfx_certaincxx . . $ sfx_certain. |
| 33 | } sfx_rating_tcxx . . $ sfx_rating_t#; |
| 34 | |
| 35 | int sfx_determinecxx . . $ sfx_determine(49e91e77821c3d2a).(const char *, sfx_rating_tcxx . . $ sfx_rating_t# *); |
| 36 | int sfx_declarecxx . . $ sfx_declare(78b1c44b5c2ce68c).(const char *, sfx_rating_tcxx . . $ sfx_rating_t#); |
| 37 | void sfx_checkcxx . . $ sfx_check(2ed9965f6227ab92).(const char *, const char *, unsigned long); |
| 38 | |
| 39 | #ifdef __cplusplus |
| 40 | } |
| 41 | #endif |
| 42 | |
| 43 | #define SFX_CHECKcxx . . $ `libutil/kazlib/sfx.h:43:9`!(E) (sfx_check(#E, __FILE__, __LINE__), (E)) |
| 44 | #define SFX_STRINGcxx . . $ `libutil/kazlib/sfx.h:44:9`!(E) #E |
| 45 | |
| 46 | #endif |