Opened 13 years ago
Last modified 11 years ago
#2087 closed defect
Move generated functions — at Version 1
| Reported by: | Adeel Asghar | Owned by: | Adeel Asghar | 
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.2 | 
| Component: | FMI | Version: | trunk | 
| Keywords: | Cc: | Lennart Ochel, Adeel Asghar, Willi Braun, Jens Frenkel | 
Description (last modified by )
At the moment, we generate code like:
void functionDAE(...) { ...; }
And call it from the runtime:
functionDAE(...);
This is a problem for FMUs since there are now two functions available with the name functionDAE. In order to make the runtime work properly, we need to move this code into a struct and from the run-time call
data->functionDAE(...);
The actual definitions of functions like functionDAE needs to use something similar to the fmiFullName() macro. Or other approach that accomplishes the same effect.
  Note:
 See   TracTickets
 for help on using tickets.
    
