jameskermode / f90wrap

F90 to Python interface generator with derived type support
GNU Lesser General Public License v3.0
243 stars 80 forks source link

FIX: Long subroutine name #218

Closed inoelloc closed 4 months ago

inoelloc commented 4 months ago

Since PR #215, the name of the module is included in the name of subroutines. As a result, the character limit for a subroutine name is quickly reached. Taking a look at the pull requests, I realised that this problem had already been encountered and solved with the shorten_long_name function (PR #178). I took the liberty of applying the same correction to the subroutine names.

When I added the tests, I also realised that this fix was missing for scalar setter.

jameskermode commented 4 months ago

thanks!