Defining time_t for Python
Fixes: lp:1732738 * https://bugs.launchpad.net/kicad/+bug/1732738
This commit is contained in:
parent
78161b5922
commit
545e6bbd0c
|
@ -112,6 +112,8 @@ principle should be easily implemented by adapting the current STL containers.
|
||||||
%include marker_base.h
|
%include marker_base.h
|
||||||
%include eda_text.h
|
%include eda_text.h
|
||||||
|
|
||||||
|
// Cast time_t to known type for Python
|
||||||
|
typedef long time_t;
|
||||||
|
|
||||||
// std template mappings
|
// std template mappings
|
||||||
%template(intVector) std::vector<int>;
|
%template(intVector) std::vector<int>;
|
||||||
|
|
Loading…
Reference in New Issue