| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…de/cpython/code.h
|
Another possible fix (that I haven't tested yet) would be to move this struct into a private header. I don't have any strong preference, but I'm also not familiar with its background and intended use. |
Sorry, something went wrong.
|
This is C11, not C++. What problem is this causing? Looks like I should have read the issue. |
Sorry, something went wrong.
|
Anonymous unions are quite useful, especially for inserting unions into a struct and retaining API compatibility. It's a shame we can't use them. |
Sorry, something went wrong.
|
I agree they're useful, but I don't need to be convinced. We have to win over the C++ committee 😄 And then wait a decade for it to be generally available in all the compilers we support. Incidentally, I noticed the SET macro, so I fixed it and am switching the assignments to use that. |
Sorry, something went wrong.
|
#101912 is an alternate PR to this one |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Updates all references to use the macros, so that changes are localised to the header file.