Browse Source

Better after base_units.cpp changes in python stuff.

Move an include to kicad.i
7.0
jean-pierre charras 3 years ago
parent
commit
97963a2bba
  1. 2
      common/swig/kicad.i
  2. 4
      pcbnew/python/swig/pcbnew.i

2
common/swig/kicad.i

@ -84,6 +84,7 @@ principle should be easily implemented by adapting the current STL containers.
#include <macros_swig.h>
#include <kiid.h>
#include <cstddef>
#include <base_units.h>
#include <eda_item.h>
#include <eda_units.h>
#include <common.h>
@ -114,6 +115,7 @@ principle should be easily implemented by adapting the current STL containers.
%include kiid.h
%include core/typeinfo.h
%include eda_item.h
%include base_units.h
%include eda_units.h
%include common.h
%include richio.h

4
pcbnew/python/swig/pcbnew.i

@ -43,10 +43,6 @@
// mostly for KICAD_T
%include typeinfo.i
%{
#include <base_units.h>
%}
%include <base_units.h>
%{
#include <lib_id.h>

Loading…
Cancel
Save