LLNL / shroud

Shroud: generate Fortran and Python wrappers for C and C++ libraries
BSD 3-Clause "New" or "Revised" License
90 stars 7 forks source link

Use format fields for struct members #378

Closed ltaylor16 closed 2 months ago

ltaylor16 commented 2 months ago

Remove function gen_arg_as_fortran. Instead create a VariableNode.bind.fmtdict entry for Fortran and fill in format fields. Then format as {i_type} :: {i_var}{i_dimension}