/trunk/Examples/test-suite/restrict_cplusplus.i
Swig | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | 9ca3018a0306127e6b1428dab7e10c1c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %module restrict_cplusplus
- %{
- // For PHP 5.3 / gcc-4.4
- #ifdef restrict
- #undef restrict
- #endif
- struct Foo {
- int restrict;
- };
- %}
- struct Foo {
- int restrict;
- };