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

Add meta["abstract"] #385

Closed ltaylor16 closed 2 weeks ago

ltaylor16 commented 2 weeks ago

The abstract type from the declaration, ex. native or native*. Before it was computed right before it was used to look up the statements. By storing it in meta attributes, it's easier to change it if necessary. For example, with std::shared_ptr. This changes all of the JSON files which dump the meta attributes.

Reorder output from --write-statements option.