Hi,
So i've used the generator for the ISO15118-2 and generate some messages. I immediately saw that within iso2_msgDefDatatypes.h there exists the following declarations for structs:
This syntax is clear for the declaration but a typedef declaration will make the use of this struct type more readable when implemented within other structs.
The idea is not to always usestruct name_type when used within other structs or function signatures.
Describe your solution
I can modify the generator if this is allowed to make a pull request if needed. The only problem with this change is: if this fix will trigger some global namespace problems (if enums with same name as structs exists, but I don't think so)
Describe the problem
Hi, So i've used the generator for the ISO15118-2 and generate some messages. I immediately saw that within
iso2_msgDefDatatypes.h
there exists the following declarations for structs:This syntax is clear for the declaration but a
typedef
declaration will make the use of this struct type more readable when implemented within other structs. The idea is not to always usestruct name_type
when used within other structs or function signatures.Describe your solution
I can modify the generator if this is allowed to make a pull request if needed. The only problem with this change is: if this fix will trigger some global namespace problems (if enums with same name as structs exists, but I don't think so)
Additional context
No response