/trunk/Examples/test-suite/restrict_cplusplus.i
# · Swig · 15 lines · 13 code · 2 blank · 0 comment · 0 complexity · 9ca3018a0306127e6b1428dab7e10c1c MD5 · raw file
- %module restrict_cplusplus
- %{
- // For PHP 5.3 / gcc-4.4
- #ifdef restrict
- #undef restrict
- #endif
- struct Foo {
- int restrict;
- };
- %}
- struct Foo {
- int restrict;
- };