Exchanging pointers in Python code

When interfacing many libraries, data must be grabbed from one code and fed into another
Example: NumPy array to/from some C++ data class
Idea: make filters, converting one data to another
Data objects are represented by pointers
SWIG can send pointers back and forth without needing to wrap the whole underlying data object
Let's illustrate with an example!

previousnexttable of contents