kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #09820
Re: About the NextColor function
On Sat, Apr 06, 2013 at 04:53:58PM +0200, jp charras wrote:
> Certainly, we could ignore swig warnings (by disabling these warnings),
> but ignoring warnings (unless we know exactly the consequence) is
> always a bit annoying (generally speaking).
> Perhaps a swig specialist could say if (or when) operator overload
> warnings can be safely disabled.
> Obviously, "col = NextColor(col)" can be replaced by a better function.
I think the most probable thing is that you lose access to that
operator in swig; we could keep the function to leave it accessible to
python and define the operators for convenience in C++ usage (simply
calling that function)
I agree that there is need of a swig specialist.
--
Lorenzo Marcantonio
Logos Srl
References