From 8fb72d8290ba61dfda341e80bb33bbbe87f9b7e4 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 5 Feb 2020 13:28:44 +0100 Subject: [PATCH] ADDED: Expose GetBuildVersion and GetBuildDate to Python --- common/swig/kicad.i | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/swig/kicad.i b/common/swig/kicad.i index 04ffb65354..46c9fb3bd2 100644 --- a/common/swig/kicad.i +++ b/common/swig/kicad.i @@ -96,6 +96,7 @@ principle should be easily implemented by adapting the current STL containers. #include #include #include + #include %} // all the wx wrappers for wxString, wxPoint, wxRect, wxChar .. @@ -116,6 +117,7 @@ principle should be easily implemented by adapting the current STL containers. %include colors_design_settings.h %include marker_base.h %include eda_text.h +%include build_version.h // Cast time_t to known type for Python typedef long time_t;