swig: disable a few warnings generated by pcb_shape.i, math.i and version.i
This commit is contained in:
parent
4ad89b9c04
commit
e37bb2e0c3
|
@ -29,6 +29,8 @@
|
|||
%ignore VECTOR2<int>::ECOORD_MAX;
|
||||
%ignore VECTOR2<int>::ECOORD_MIN;
|
||||
|
||||
#pragma SWIG nowarn=317
|
||||
|
||||
|
||||
%rename(getWxPoint) operator wxPoint;
|
||||
%rename(getWxSize) operator wxSize;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
%ignore EDA_SHAPE::getCenter;
|
||||
#pragma SWIG nowarn=503
|
||||
|
||||
%{
|
||||
#include <geometry/eda_angle.h>
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
* @file version.i
|
||||
* @brief KiCad version routine
|
||||
*/
|
||||
|
||||
#pragma SWIG nowarn=305
|
||||
|
||||
%include kicad_build_version.h
|
||||
|
||||
%pythoncode
|
||||
|
|
Loading…
Reference in New Issue