swig-fortran / swig

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

Add automated BIND(C) wrapping to structs #57

Closed sethrj closed 6 years ago

sethrj commented 6 years ago

Implement #11 . Given the %fortran_bindc_struct(classname); SWIG directive on a struct with no inheritance or member functions, we will generate a type, BIND(C) equivalent.