Frank Heckenbach wrote:
... snip ...
If those library routines already exist and are written in C, then sure. And often it may make sense to write small C wrappers indeed -- e.g., I don't know what "CComplex" is -- C has no built-in complex type AFAIK, unlike Pascal, so it may be a user-defined type, and a conversion wrapper may be reasonable. For other types (e.g. `int' -> `CInteger') direct Pascal access to the library routines may be reasonable.
As of C99 C has a complex type, and can operate on them directly. -- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson