Maintainer | John Goerzen, |
---|
Maintainer : jgoerzen@complete.org Stability : provisional Portability: portable
Types for magic programs.
Written by John Goerzen, jgoerzen@complete.org
- type Magic = ForeignPtr CMagic
- data MagicFlag
- = MagicNone
- | MagicDebug
- | MagicSymlink
- | MagicCompress
- | MagicDevices
- | MagicMime
- | MagicContinue
- | MagicCheck
- | MagicPreserveAtime
- | MagicRaw
- | MagicError
- | UnknownMagicFlag Int
Documentation
type Magic = ForeignPtr CMagicSource
Main Magic object type.
Magic objects are automatically closed (and memory freed) when they are garbage-collected by Haskell. There is no need to explicitly close them.