I’ve written a gist here with an example of how to add some python-list-like functionality to a SWIG-wrapped C structure.
The trials and tribulations in the working life of a gravitational wave researcher
I’ve written a gist here with an example of how to add some python-list-like functionality to a SWIG-wrapped C structure.