Re: unnamed stucts
Greg Ewing <[email protected]>
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
Brad Schick wrote: > If I extract the nested stuct declarations and give them names, I assume > the generated C would not compile correctly since it will #include the > original nameless C declaration. It should work okay as long as you don't use the names for anything other than declaring the nested struct members. The C code for accessing members of the inner structs is the same whether they're declared in a nested manner or not. -- Greg