blob: 53c5782a17b9637c75abe00b258a11130417c84f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
%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;
};
|