From 6d16762df970b9d99dbbe91814ff34e02660307d Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 21 Apr 2020 12:46:22 +0200 Subject: [PATCH] Better python scripting compatibility. --- include/common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/common.h b/include/common.h index 188993d046..9fe99c68c5 100644 --- a/include/common.h +++ b/include/common.h @@ -49,6 +49,7 @@ #include #include #include +#include class PROJECT; class SEARCH_STACK; @@ -106,8 +107,10 @@ private: extern KIID niluuid; +// declare KIID_VECT_LIST as std::vector both for c++ and swig: +DECL_VEC_FOR_SWIG( KIID_VECT_LIST, KIID ) -class KIID_PATH : public std::vector +class KIID_PATH : public KIID_VECT_LIST { public: KIID_PATH()