Call C (or C++) with pointer to static function

Daniel Gibson metalcaedes at gmail.com
Mon Oct 11 05:56:18 PDT 2010


On Mon, Oct 11, 2010 at 2:30 AM, Michael Stover
<michael.r.stover at gmail.com> wrote:
> I am under the impression that passing a pointer to a static function (ie,
> passing a pointer to a memory address that contains the starting point of a
> function) is not the same as defining a method that can be called by name
> from C code.  I am not a C expert though.
> Can one call fortran libraries from D?  Ie, say one wanted to use LAPACK
> from D?
> Also, know of any mathematical libraries written in D (like implementations
> of runge-kutta, linear algebra routines and data structures, optimization or
> curve-fitting algorithms)?
> -Mike
>

See
http://www.digitalmars.com/d/archives/digitalmars/D/Is_there_anybody_working_on_a_linear_algebra_library_for_D2_118357.html
:-)


More information about the Digitalmars-d mailing list