Pointer Members and Deferred-Length Strings

A pointer is a promise about data you do not own. A deferred-length string is a promise about storage you have not yet allocated. Wrapping either for Python means honoring contracts that C cannot express. Background # Last time covered allocatable array members: manual Fortran wrappers, the C layer with NumPy, and how f2py automates it all. Two more member types are needed to round out the…