Safe Haskell | None |
---|---|
Language | Haskell98 |
FFI functions for handling the LLVM SMDiagnostic class
- 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 #