CIF codegen: targetVariableName vs targetRef issues for various targets
In !745 (merged) I renamed some things. For JS/HTML, I ensured that targetVariableName
vs targetRef
(and their get*
variants, etc) are properly used. And in the general non-target-specific parts as well.
I did not change it for C89/C99/Java/Simulink code generation. For C89/C99/Java, it probably doesn't matter, as there the methods return the same values. For Simulink, there is a difference, but I didn't yet check whether it affects end users. Even if it doesn't matter for end users, we should call the right methods and use the right fields, such that if there ever is a difference between the two, things still work properly.