swig/Examples/test-suite/restrict_cplusplus.i

17 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;
};