LLNL / shroud

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

Struct getter shadow #330

Closed ltaylor16 closed 9 months ago

ltaylor16 commented 9 months ago

Structs now create a using statement to set the C struct name to the C++ struct name. This is used when compiling the wrapper implementation to avoid adding static_casts in the wrappers. The users will continue to use the generated C structs which parallel the C++ structs.

Add some support for getter/setter for struct pointer members of a struct.