-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Extract dependencies from C code. -- -- This package provides the ability to extract dependencies from C code, -- for use with shake or otherwise. This can also be used to -- extract dependencies from Haskell source using the C preprocessor. @package cdeps @version 0.1.2.2 module Language.C.Dependency -- | Given a ByteString containing C, return a list of filepaths -- it #includes. getIncludes :: ByteString -> Either String [FilePath] getIncludesText :: Text -> Either String [FilePath] -- | Get any filepaths that were #include-ed in a C source file. getCDepends :: MonadIO m => [FilePath] -> FilePath -> m [FilePath] -- | Get transitive dependencies of a C source file. getAll :: MonadIO m => [FilePath] -> FilePath -> m [FilePath] instance GHC.Show.Show Language.C.Dependency.AlexPosn instance GHC.Classes.Eq Language.C.Dependency.AlexPosn instance GHC.Base.Functor Language.C.Dependency.Alex instance GHC.Base.Applicative Language.C.Dependency.Alex instance GHC.Base.Monad Language.C.Dependency.Alex