Name: mmap Version: 0.5.3 Stability: alpha License: BSD3 License-File: LICENSE Copyright: 2008, Gracjan Polak Author: Gracjan Polak Maintainer: Gracjan Polak Synopsis: Memory mapped files for POSIX and Windows Description: This library provides a wrapper to mmap(2) or MapViewOfFile, allowing files or devices to be lazily loaded into memory as strict or lazy ByteStrings, ForeignPtrs or plain Ptrs, using the virtual memory subsystem to do on-demand loading. Modifications are also supported. Cabal-version: >= 1.2 Category: System Build-type: Simple Extra-Source-Files: cbits/HsMmap.h Flag mmaptest Description: Generate mmaptest executable Default: False Library Build-depends: base<5, bytestring Extensions: ForeignFunctionInterface Exposed-modules: System.IO.MMap Hs-source-dirs: . Include-dirs: cbits if os(mingw32) C-sources: cbits/win32.c else C-sources: cbits/posix.c Executable mmaptest Main-is: tests/mmaptest.hs if flag(mmaptest) Buildable: True else Buildable: False Build-depends: base<5, bytestring, HUnit, directory Extensions: ForeignFunctionInterface, ScopedTypeVariables, CPP Hs-source-dirs: . CC-options: -Wall -D_DEBUG Include-dirs: cbits if os(mingw32) cpp-options: -DWINDOWS C-sources: cbits/win32.c Build-depends: Win32 else C-sources: cbits/posix.c