Future Work¶
- complex
- pointers to pointers and in particular
char **
are not supported. An argument likeClass **ptr+intent(out)
does not work. Instead use a function which return a pointer toClass *
- reference counting and garbage collection
- Support for Further Interoperability of Fortran with C. This includes the ISO_Fortran_binding.h header file.
The copying of strings solves the blank-filled vs null-terminated differences between Fortran and C and works well for many strings. However, if a large buffer is passed, it may be desirable to avoid the copy.
There is some initial work to support Python and Lua wrappers.
Possible Future Work¶
Use a tool to parse C++ and extract info.
- https://github.com/CastXML/CastXML
- https://pypi.python.org/pypi/pygccxml
- Wrapping C and C++ Libraries with CastXML | SciPy 2015 | Brad King, Bill Hoffman, Matthew McCormick https://www.youtube.com/watch?v=O2lBgtaDdyk&index=20&list=PLYx7XA2nY5Gcpabmu61kKcToLz0FapmHu