Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Functions for handling the LLVMContext class. In all other LLVM interfaces, | prefer the newer explicitly thread-aware variants which use contexts | over corresponding older variants which implicitly reference a global context. | This choice allows multiple threads to do independent work with LLVM safely.
Synopsis
- data Context
- contextCreate :: IO (Ptr Context)
- getGlobalContext :: IO (Ptr Context)
- contextDispose :: Ptr Context -> IO ()