Safe Haskell | None |
---|---|
Language | Haskell2010 |
FFI functions for handling the LLVM SMDiagnostic class
Synopsis
- data SMDiagnostic
- createSMDiagnostic :: IO (Ptr SMDiagnostic)
- disposeSMDiagnostic :: Ptr SMDiagnostic -> IO ()
- getSMDiagnosticKind :: Ptr SMDiagnostic -> IO DiagnosticKind
- getSMDiagnosticLineNo :: Ptr SMDiagnostic -> IO CInt
- getSMDiagnosticColumnNo :: Ptr SMDiagnostic -> IO CInt
- getSMDiagnosticFilename :: Ptr SMDiagnostic -> Ptr CUInt -> IO CString
- getSMDiagnosticMessage :: Ptr SMDiagnostic -> Ptr CUInt -> IO CString
- getSMDiagnosticLineContents :: Ptr SMDiagnostic -> Ptr CUInt -> IO CString
Documentation
data SMDiagnostic Source #
createSMDiagnostic :: IO (Ptr SMDiagnostic) Source #
allocate an SMDiagnostic object
disposeSMDiagnostic :: Ptr SMDiagnostic -> IO () Source #
getSMDiagnosticFilename :: Ptr SMDiagnostic -> Ptr CUInt -> IO CString Source #
getSMDiagnosticMessage :: Ptr SMDiagnostic -> Ptr CUInt -> IO CString Source #
getSMDiagnosticLineContents :: Ptr SMDiagnostic -> Ptr CUInt -> IO CString Source #