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

Recursive struct #329

Closed ltaylor16 closed 1 year ago

ltaylor16 commented 1 year ago

Reverse the order of typedef and struct statement to allow recursive structs:

typedef struct s_list list;
struct s_list {
   list *parent;
};

Add tests for recursive structs.