Work around SWIG problems
This commit is contained in:
parent
e98c9f283f
commit
e347300593
|
@ -324,6 +324,13 @@ public:
|
|||
|
||||
const MARKERS& Markers() const { return m_markers; }
|
||||
|
||||
// SWIG requires non-const accessors for some reason to make the custom iterators in board.i
|
||||
// work. It would be good to remove this if we can figure out how to fix that.
|
||||
#ifdef SWIG
|
||||
DRAWINGS& Drawings() { return m_drawings; }
|
||||
TRACKS& Tracks() { return m_tracks; }
|
||||
#endif
|
||||
|
||||
const BOARD_ITEM_SET GetItemSet();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue