swig: clear up some warnings
This commit is contained in:
parent
55f2a79957
commit
db43ed72fe
|
@ -104,7 +104,6 @@ principle should be easily implemented by adapting the current STL containers.
|
|||
%ignore GetNewConfig;
|
||||
|
||||
// header files that must be wrapped
|
||||
|
||||
%include macros.h
|
||||
%include core/typeinfo.h
|
||||
%include base_struct.h
|
||||
|
@ -112,6 +111,7 @@ principle should be easily implemented by adapting the current STL containers.
|
|||
%include common.h
|
||||
%include title_block.h
|
||||
%include gal/color4d.h
|
||||
%include core/settings.h
|
||||
%include colors_design_settings.h
|
||||
%include marker_base.h
|
||||
%include eda_text.h
|
||||
|
@ -138,6 +138,8 @@ typedef long time_t;
|
|||
// Contains VECTOR2I
|
||||
%include math.i
|
||||
|
||||
// ignore warning from nested classes
|
||||
#pragma SWIG nowarn=325
|
||||
%ignore SHAPE_LINE_CHAIN::convertFromClipper;
|
||||
#include <geometry/shape_line_chain.h>
|
||||
%include <geometry/shape_line_chain.h>
|
||||
|
@ -151,6 +153,7 @@ typedef long time_t;
|
|||
// Rename operators defined in utf8.h
|
||||
%rename(utf8_to_charptr) operator char* () const;
|
||||
%rename(utf8_to_wxstring) operator wxString () const;
|
||||
%rename(utf8_to_string) operator const std::string& () const;
|
||||
|
||||
#include <utf8.h>
|
||||
%include <utf8.h>
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
%ignore VECTOR2<int>::ECOORD_MAX;
|
||||
%ignore VECTOR2<int>::ECOORD_MIN;
|
||||
|
||||
|
||||
%rename(getWxPoint) operator wxPoint;
|
||||
#include <math/vector2d.h>
|
||||
%include <math/vector2d.h>
|
||||
%template(VECTOR2I) VECTOR2<int>;
|
||||
|
|
Loading…
Reference in New Issue