X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=System%2FMem.hs;h=10a908aa3f82c876a7d47efe4ab607db6392facb;hb=f7a485978f04e84b086f1974b88887cc72d832d0;hp=a50d6ffab02839e5b32afc9a57eb872aa1c827cc;hpb=cb68ac0418c116c15346ff4c05aed69a635b5d04;p=ghc-base.git diff --git a/System/Mem.hs b/System/Mem.hs index a50d6ff..10a908a 100644 --- a/System/Mem.hs +++ b/System/Mem.hs @@ -1,15 +1,13 @@ ----------------------------------------------------------------------------- --- +-- | -- Module : System.Mem -- Copyright : (c) The University of Glasgow 2001 --- License : BSD-style (see the file libraries/core/LICENSE) +-- License : BSD-style (see the file libraries/base/LICENSE) -- -- Maintainer : libraries@haskell.org -- Stability : provisional -- Portability : portable -- --- $Id: Mem.hs,v 1.1 2002/02/12 10:50:03 simonmar Exp $ --- -- Memory-related system things. -- ----------------------------------------------------------------------------- @@ -18,6 +16,8 @@ module System.Mem ( performGC -- :: IO () ) where +import Prelude + #ifdef __GLASGOW_HASKELL__ -foreign import {-safe-} "performGC" performGC :: IO () +foreign import ccall {-safe-} "performGC" performGC :: IO () #endif