ghci-8.0.0.20160421: The library supporting GHC's interactive interpreter

Safe HaskellNone
LanguageHaskell2010

GHCi.ObjLink

Description

Primarily, this module consists of an interface to the C-land dynamic linker.

Synopsis

Documentation

loadDLL :: String -> IO (Maybe String) Source #

loadDLL loads a dynamic library using the OS's native linker (i.e. dlopen() on Unix, LoadLibrary() on Windows). It takes either an absolute pathname to the file, or a relative filename (e.g. "libfoo.so" or "foo.dll"). In the latter case, loadDLL searches the standard locations for the appropriate library.