Developer Tools

Using SWIG to generate Fortran

Change the declaration for DTK_UserApplicationHandle by replacing struct _DTK_UserApplicationHandle * to void * in DTK_C_API.h and run

$ swig -fortran dtk.i

using Fortran-enabled SWIG fork (fortran branch). This would generate two files: dtk_wrap.cxx and DataTransferKit.f90. Move them to DTK_Fortran_wrap.cpp and DTK_Fortran_API.F90, respectively.