diff --git a/common/swig/kicad.i b/common/swig/kicad.i index 7613cf0592..d41e1b1715 100644 --- a/common/swig/kicad.i +++ b/common/swig/kicad.i @@ -112,6 +112,8 @@ principle should be easily implemented by adapting the current STL containers. %include marker_base.h %include eda_text.h +// Cast time_t to known type for Python +typedef long time_t; // std template mappings %template(intVector) std::vector;