Changes between Initial Version and Version 1 of Ticket #5240, comment 14


Ignore:
Timestamp:
2021-02-26T11:55:35Z (4 years ago)
Author:
Per Östlund

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5240, comment 14

    initial v1  
    11Evaluating external functions in shared libraries via libffi is now implemented in [changeset:aaf9ee15/OpenModelica aaf9ee15] (and some minor fixes in [changeset:31ad3c3/OpenModelica 31ad3c3]). There are some caveats though:
    2 * External functions defined in ModelicaExternalC are broken on Windows. This is a special case since we link ModelicaExternalC into the compiler, so instead of loading a shared library we look the functions up in the omc executable itself. For some reason this isn't working on Windows, we're investigating why.
     2* ~~External functions defined in ModelicaExternalC are broken on Windows. This is a special case since we link ModelicaExternalC into the compiler, so instead of loading a shared library we look the functions up in the omc executable itself. For some reason this isn't working on Windows, we're investigating why.~~ Fixed in [changeset:cf838fb0/OpenModelica cf838fb0] and [changeset:997610d/OpenModelica 997610d].
    33* Returning records from an external C function isn't supported yet, but record output parameter are. E.g.:
    44  {{{#!mo