swig/Examples/test-suite/restrict_cplusplus.i
Olly Betts d6d5db122b Remove support for PHP5
PHP5 is no longer actively supported by the PHP developers and security
support for it ends completely at the end of 2018, so it doesn't make
sense to include support for it in the upcoming SWIG 4.0.0 release.

See #701.
2018-06-07 18:09:03 +12:00

16 lines
213 B
OpenEdge ABL

%module restrict_cplusplus
%{
// Workaround PHP's headers which do:
// #define restrict __restrict__
#ifdef restrict
#undef restrict
#endif
struct Foo {
int restrict;
};
%}
struct Foo {
int restrict;
};