PageRenderTime 57ms CodeModel.GetById 53ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1/* This interface file tests whether character constants are correctly
 2   wrapped as procedures returning Scheme characters (rather than
 3   Scheme strings). 
 4*/
 5
 6%module char_constant
 7
 8#define CHAR_CONSTANT 'x'
 9
10#define STRING_CONSTANT "xyzzy"
11
12#define ESC_CONST  '\1'
13#define NULL_CONST '\0'
14#define SPECIALCHAR 'รก'
15