GHCi.ObjLink

GHCi.ObjLink

Safe Haskell None
Language Haskell2010

Description

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

initObjLinker :: IO () Source

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.

loadArchive :: String -> IO () Source

loadObj :: String -> IO () Source

unloadObj :: String -> IO () Source

lookupSymbol :: String -> IO (Maybe (Ptr a)) Source

lookupClosure :: String -> IO (Maybe HValueRef) Source

resolveObjs :: IO Bool Source

addLibrarySearchPath :: String -> IO (Ptr ()) Source

removeLibrarySearchPath :: Ptr () -> IO Bool Source

findSystemLibrary :: String -> IO (Maybe String) Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.0.1/docs/html/libraries/ghci-8.0.1/GHCi-ObjLink.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部