Macaulay2 » Documentation
Packages » ForeignFunctions :: SharedLibrary
next | previous | forward | backward | up | index | toc

SharedLibrary -- a shared library


A shared library that could be used to load foreign functions. Each shared library object consists of a pointer to a handle for the library and a string that is used by describe, expression, net, texMath, toExternalString, and toString.

i1 : mpfr = openSharedLibrary "mpfr"

o1 = mpfr

o1 : SharedLibrary
i2 : peek mpfr

o2 = SharedLibrary{0x7c80a7289fc0, mpfr}

Functions and methods returning a shared library :

Methods that use a shared library :

For the programmer

The object SharedLibrary is a self initializing type, with ancestor classes BasicList < Thing.