ExternalLibraryName - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ExternalCalling

  

ExternalLibraryName

  

return the name of the relevant external shared object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ExternalLibraryName( basename, precision )

Parameters

basename

-

string or name; denotes which library is relevant

precision

-

optional HWFloat or SWFloat

Description

• 

The ExternalLibraryName(basename) function returns the string that represents the name of the relevant external shared object (library) with the correct platform filename extension or polycapitalization.

• 

The library name (Maple string) is platform dependent.  In Windows, the returned name has ".dll" appended to it.  In all other operating systems, the library name has "lib" prepended and ".so" appended to it.

• 

If precision is set to SWFloat, the suffix "mp" is appended to the basename of the shared library.  This facilitates having hardware float and multi-precision software float libraries with the same base name.

Examples

withExternalCalling:

extlibExternalLibraryNamemstring

extliblibmstring.so

(1)

extcallDefineExternalmstring_uppercase,extlib

extcallprocoptioncall_external,define_externalmstring_uppercase,MAPLE,LIB=libmstring.so;call_external0,140353269845632,true,false,false,argsend proc

(2)

See Also

define_external

external_calling

ExternalCalling

ExternalCalling[DefineExternal]