-
erwan authored
In the -2c mode, in presence of extern types, I was defining them as int. The idea was to have something that compiles, and then to ask the user to redefine its extern types. Now I define extern types as string (char*). The rationale of this change is that before, the generated code was only working for int, which is pretty useless as an extern type. Have string by default is actually much more useful, for instance to use string in a Lustre program. Also, adapt to changes done in lutils, where the string type has ben added. (sha:8619aa285ca8322ab9, i.e., > lutils 1.49.10)
erwan authoredIn the -2c mode, in presence of extern types, I was defining them as int. The idea was to have something that compiles, and then to ask the user to redefine its extern types. Now I define extern types as string (char*). The rationale of this change is that before, the generated code was only working for int, which is pretty useless as an extern type. Have string by default is actually much more useful, for instance to use string in a Lustre program. Also, adapt to changes done in lutils, where the string type has ben added. (sha:8619aa285ca8322ab9, i.e., > lutils 1.49.10)