From 545e6bbd0c06cf4cf4fd8f1ebf8b3b8c304e2abf Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 27 Mar 2018 09:36:40 -0700 Subject: [PATCH] Defining time_t for Python Fixes: lp:1732738 * https://bugs.launchpad.net/kicad/+bug/1732738 --- common/swig/kicad.i | 2 ++ 1 file changed, 2 insertions(+) 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;