From eae9e954c35d354e2b9a41b0d680a3aee21986df Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 27 Feb 2021 08:53:59 -0500 Subject: [PATCH] Hide BOARD internals that shouldn't be wrapped from swig --- pcbnew/swig/board.i | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcbnew/swig/board.i b/pcbnew/swig/board.i index fcb3fea83b..81e2141b91 100644 --- a/pcbnew/swig/board.i +++ b/pcbnew/swig/board.i @@ -69,6 +69,11 @@ HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints) // Do not permit default BOARD ctor since it won't initialize the project %ignore BOARD::BOARD(); +// Do not wrap internal-only structures +%ignore BOARD::m_InsideCourtyardCache; +%ignore BOARD::m_InsideAreaCache; +%ignore BOARD::m_CopperZoneRTrees; + %include board.h %{ #include