pcbnew: add 3d models properties to swig
Fixes: lp:1758858 https://bugs.launchpad.net/kicad/+bug/1758858
This commit is contained in:
parent
4d709d2392
commit
c68ad411ff
|
@ -28,6 +28,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
%include <std_vector.i>
|
%include <std_vector.i>
|
||||||
|
%include <std_list.i>
|
||||||
%include <std_basic_string.i>
|
%include <std_basic_string.i>
|
||||||
%include <std_string.i>
|
%include <std_string.i>
|
||||||
%include <std_map.i>
|
%include <std_map.i>
|
||||||
|
|
|
@ -29,14 +29,17 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
%rename(MODULE_3D_SETTINGS_VECTOR3D) MODULE_3D_SETTINGS::VECTOR3D;
|
||||||
|
%feature("flatnested");
|
||||||
%include class_module.h
|
%include class_module.h
|
||||||
|
%feature("flatnested", "");
|
||||||
|
|
||||||
%rename(Get) operator MODULE*;
|
%rename(Get) operator MODULE*;
|
||||||
%template(MODULE_List) DLIST<MODULE>;
|
%template(MODULE_List) DLIST<MODULE>;
|
||||||
%{
|
%{
|
||||||
#include <class_module.h>
|
#include <class_module.h>
|
||||||
%}
|
%}
|
||||||
|
%template(MODULE_3D_SETTINGS_List) std::list<MODULE_3D_SETTINGS>;
|
||||||
|
|
||||||
|
|
||||||
// BOARD_ITEM_CONTAINER's interface functions will be implemented by SWIG
|
// BOARD_ITEM_CONTAINER's interface functions will be implemented by SWIG
|
||||||
|
|
Loading…
Reference in New Issue