You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 use
struct 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
The text was updated successfully, but these errors were encountered: