mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 22:23:43 +00:00
Add SWIG mirroring defs
This commit is contained in:
parent
a6c55ee473
commit
67c72cbb7a
@ -160,6 +160,9 @@ typedef long time_t;
|
||||
// std::optional type mappings
|
||||
%include optional.i
|
||||
|
||||
// Mirror defs
|
||||
%include mirror.i
|
||||
|
||||
// ignore warning relative to operator = and operator ++:
|
||||
#pragma SWIG nowarn=362,383
|
||||
|
||||
|
28
common/swig/mirror.i
Normal file
28
common/swig/mirror.i
Normal file
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* This file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2024 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 as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
%include core/mirror.h
|
||||
|
||||
%{
|
||||
#include <core/mirror.h>
|
||||
%}
|
Loading…
Reference in New Issue
Block a user