Generated C makros for attributes should be prefixed to avoid name conflicts
The macros generated by eTrice (especially macros for attributes of actor classes) often lead to the problem that the preprocessor also expands macros in unwanted places, for example if an attribute of an actor and a data class have the same name.
→ the macros for attributes should get a prefix, for example 'self', to make these name collisions less likely.
- Add additonal makros with self_<attribute_name>
- Warn users if they use attribute name without self_ prefix
- Change details code completion to complete prefixed version of makro
- Add migrations to allow users to migrate all detail codes to use the prefixed attribute name
- Breaking (later): remove existing (unprefixed) makros for attribute access
Edited by Christian Hilden