PageRenderTime 9ms CodeModel.GetById 7ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/trunk/Examples/test-suite/restrict_cplusplus.i

#
Swig | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | 9ca3018a0306127e6b1428dab7e10c1c MD5 | raw file
 1%module restrict_cplusplus
 2
 3%{
 4// For PHP 5.3 / gcc-4.4
 5#ifdef restrict
 6#undef restrict
 7#endif
 8struct Foo {
 9    int restrict;
10};
11%}
12
13struct Foo {
14    int restrict;
15};