Add CloneFrom API for BOARD_DESIGN_SETTINGS in SWIG
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6885
This commit is contained in:
parent
75d75799f7
commit
0234ae3003
|
@ -1,6 +1,16 @@
|
|||
%ignore BOARD_DESIGN_SETTINGS::m_Pad_Master;
|
||||
%ignore BOARD_DESIGN_SETTINGS::m_DRCEngine;
|
||||
|
||||
%include <board_design_settings.h>
|
||||
%{
|
||||
#include <board_design_settings.h>
|
||||
%}
|
||||
|
||||
%include <board_design_settings.h>
|
||||
|
||||
%extend BOARD_DESIGN_SETTINGS
|
||||
{
|
||||
void CloneFrom( BOARD_DESIGN_SETTINGS* aOther )
|
||||
{
|
||||
*$self = *aOther;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue