Defining time_t for Python

Fixes: lp:1732738
* https://bugs.launchpad.net/kicad/+bug/1732738
This commit is contained in:
Seth Hillbrand 2018-03-27 09:36:40 -07:00
parent 78161b5922
commit 545e6bbd0c
1 changed files with 2 additions and 0 deletions

View File

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