/tags/rel-1-3-26/SWIG/Examples/test-suite/char_constant.i
# · Swig · 15 lines · 6 code · 5 blank · 4 comment · 0 complexity · 66ea3bbd78897fcf82eb1e514172852c MD5 · raw file
- /* This interface file tests whether character constants are correctly
- wrapped as procedures returning Scheme characters (rather than
- Scheme strings).
- */
- %module char_constant
- #define CHAR_CONSTANT 'x'
- #define STRING_CONSTANT "xyzzy"
- #define ESC_CONST '\1'
- #define NULL_CONST '\0'
- #define SPECIALCHAR 'á'