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

Remove capsule from within cdesc struct #333

Closed ltaylor16 closed 11 months ago

ltaylor16 commented 11 months ago

The capsule is used with memory management and is now passed explicitly when needed instead of being part of cdesc. cdesc is only used to describe memory.

Use the same statement fields for Fortran implementation, interface and C wrapper. The owner field was missing from most of them. It will be more useful in the C wrapper when CFI is used since the allocation can be done in C so a capsule will not be needed.

Add a comment field to statement.