Is your feature request related to a problem? Please describe.
Following the advice in #228, I'm trying to hook structs.h up to my native C code. However, structs.h is generated as C++ code, so every file where I include it now needs to also be C++, and the problem cascades.
Describe the solution you'd like
Just like e.g. vars.h, structs.h should be valid C code (C11, specifically).
Describe alternatives you've considered
The only real alternative I see is to convert a good chunk of my codebase to C++. The difficulty of this is exacerbated by the fact that much of my native code is generated by STM32CubeMX.
In the meantime I can just not use structs, but my project will take a huge organizational hit if I have to do everything with primitives.
Is your feature request related to a problem? Please describe.
Following the advice in #228, I'm trying to hook
structs.hup to my native C code. However,structs.his generated as C++ code, so every file where I include it now needs to also be C++, and the problem cascades.Describe the solution you'd like
Just like e.g.
vars.h,structs.hshould be valid C code (C11, specifically).Describe alternatives you've considered
The only real alternative I see is to convert a good chunk of my codebase to C++. The difficulty of this is exacerbated by the fact that much of my native code is generated by STM32CubeMX.
In the meantime I can just not use structs, but my project will take a huge organizational hit if I have to do everything with primitives.