3 %warnfilter(SWIGWARN_RUBY_WRONG_NAME) agua;
5 /* no redundant warnings */
6 %warnfilter(SWIGWARN_PARSE_REDUNDANT);
10 // All these repeated declarations are not redefinitions,
11 // and they are valid C++ code, therefore, we skip
12 // swig redefined warnings.
22 %constant int agua = 0;
23 %constant int agua = 0;
39 inline int hello(int);
40 int hello(int) { return 0; }
47 friend int foo(A*, B*);
53 friend int foo(A*, B*);
56 inline int foo(A*, B*) { return 0; }
64 // the %extend and %rename directive ALWAYS emit redefined warnings,
65 // since they are not C/C++/CPP standard.
68 int hi(int) { return 0; }
71 %rename(chao) hi(int);
74 // All these repeated declarations are really redefinitions,
75 // therefore, swig must produce a redefined warning
78 %constant int agua = 0;
79 %constant int agua = 1;
88 #define MACROREP(x) x*2
96 inline double hello(int) { return 0; }
102 friend short hello(int);
103 int hi(int) { return 0; }