swig: disable a few warnings generated by pcb_shape.i, math.i and version.i

This commit is contained in:
jean-pierre charras 2022-03-09 17:23:29 +01:00
parent 4ad89b9c04
commit e37bb2e0c3
3 changed files with 7 additions and 1 deletions

View File

@ -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;

View File

@ -1,4 +1,5 @@
%ignore EDA_SHAPE::getCenter;
#pragma SWIG nowarn=503
%{
#include <geometry/eda_angle.h>

View File

@ -21,6 +21,9 @@
* @file version.i
* @brief KiCad version routine
*/
#pragma SWIG nowarn=305
%include kicad_build_version.h
%pythoncode