Opened 13 years ago
Closed 11 years ago
#2087 closed defect (invalid)
Move generated functions
| 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.
Change History (5)
comment:1 by , 13 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 13 years ago
| Cc: | added |
|---|
comment:3 by , 12 years ago
| Milestone: | 1.9.0 → 1.9.1 |
|---|
comment:4 by , 11 years ago
| Milestone: | 1.9.1 → 1.9.2 |
|---|
This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).
comment:5 by , 11 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |

Postponed until 1.9.1