Python, swig: add definition of BOX2I
This commit is contained in:
parent
748324f4cd
commit
3857e68452
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
* Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -36,7 +36,11 @@
|
|||
%rename(getWxSize) operator wxSize;
|
||||
#include <math/vector2d.h>
|
||||
%include <math/vector2d.h>
|
||||
#include <math/box2.h>
|
||||
%include <math/box2.h>
|
||||
|
||||
%template(VECTOR2I) VECTOR2<int>;
|
||||
%template(BOX2I) BOX2<VECTOR2I>;
|
||||
|
||||
%extend VECTOR2<int>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue