swig-fortran / swig

This fork of SWIG creates Fortran wrapper code from C++ headers.
http://www.swig.org
Other
43 stars 11 forks source link

Refactor memory management and numerous other improvments #60

Closed sethrj closed 6 years ago

sethrj commented 6 years ago

Closes #58 . All classes now store a struct instead of a pointer and can keep track of memory ownership. This also enables assignment to work.

I also made significant strides in native C++/Fortran interoperability, including options to wrap const std::string& as native fortran strings (no wrapper class required).