mirror of https://github.com/swig/swig
Warning fixes in test-suite
This commit is contained in:
parent
10cbd2781f
commit
ab86f8a8f5
|
@ -45,7 +45,7 @@ public:
|
|||
%template(QueryInterfaceObjct) Objct::QueryInterface<Objct>;
|
||||
#endif
|
||||
|
||||
}; // namespace
|
||||
} // namespace
|
||||
|
||||
%}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
%inline %{
|
||||
|
||||
// Named types
|
||||
/* Named types */
|
||||
struct StructA {
|
||||
int x;
|
||||
} instanceA1;
|
||||
|
|
|
@ -43,8 +43,8 @@ $1 = 0;
|
|||
/* Correct typemap for $symname: $type */
|
||||
}
|
||||
%inline %{
|
||||
void func1a(myarray x) {};
|
||||
void func1b(volatile myarray x) {};
|
||||
void func1a(myarray x) {}
|
||||
void func1b(volatile myarray x) {}
|
||||
%}
|
||||
|
||||
CLEAR_SWIGTYPE_TYPEMAPS;
|
||||
|
@ -57,9 +57,9 @@ $1 = 0;
|
|||
/* Correct typemap for $symname: $type */
|
||||
}
|
||||
%inline %{
|
||||
void func2a(const myarray x) {};
|
||||
void func2b(const myconstarray x) {};
|
||||
void func2c(const volatile myconstarray x) {};
|
||||
void func2a(const myarray x) {}
|
||||
void func2b(const myconstarray x) {}
|
||||
void func2c(const volatile myconstarray x) {}
|
||||
%}
|
||||
|
||||
CLEAR_SWIGTYPE_TYPEMAPS;
|
||||
|
@ -72,7 +72,7 @@ $1 = 0;
|
|||
/* Correct typemap for $symname: $type */
|
||||
}
|
||||
%inline %{
|
||||
void func3a(const mycrazyarray x, const mycrazyarray y[7]) {};
|
||||
void func3a(const mycrazyarray x, const mycrazyarray y[7]) {}
|
||||
%}
|
||||
|
||||
CLEAR_SWIGTYPE_TYPEMAPS;
|
||||
|
@ -81,5 +81,5 @@ $1 = 0;
|
|||
/* Correct typemap for $symname: $type */
|
||||
}
|
||||
%inline %{
|
||||
void func4a(mycrazyfunc *const x, const mycrazyfuncptr y) {};
|
||||
void func4a(mycrazyfunc *const x, const mycrazyfuncptr y) {}
|
||||
%}
|
||||
|
|
Loading…
Reference in New Issue