Skip to content

Commit

Permalink
- Codegen.mo, for external functions:
Browse files Browse the repository at this point in the history
  + Previosuly, if the order of outputs are different from the one in the call mapping, it would write the results in the incorrect order.
  + Added testcase for external C functions, where 4 outputs are mapped in different orders.
  + External Java functions use the same mapping as C functions, and do not need testing.
  + Test cases were also added for external FORTRAN 77 functions since the code path for code generation of F77 functions is different. However, the code actually calls the same function as in the C example (the function prototype is identical).


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@4858 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jan 27, 2010
1 parent 43d95e9 commit 297d567
Showing 1 changed file with 177 additions and 115 deletions.

0 comments on commit 297d567

Please sign in to comment.