Hi,

On Tue, Aug 13, 2019 at 05:43:02PM +0200, Ian McInerney wrote:

> Smart pointers would definitely have been nicer to use, but the issue we
> have with the board objects is they are passed out through SWIG to Python
> currently, and SWIG doesn't seem to support unique_ptr, so I am not sure
> how it would react if we gave it a deque of unique_ptrs. Anyone know if
> that would break anything?

That would break horribly, indeed.

It would probably make sense to have a higher-level interface for
scripting, and SWIG that instead of exposing the internals, breaking all
the scripts everytime we improve something. :/

   Simon

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to