From: simonmar Date: Tue, 26 Mar 2002 17:09:52 +0000 (+0000) Subject: [project @ 2002-03-26 17:09:52 by simonmar] X-Git-Tag: nhc98-1-18-release~1075 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=76fe2228960a254ad1083113d53890c4d71cca8d;p=haskell-directory.git [project @ 2002-03-26 17:09:52 by simonmar] Update foreign import declaration to new syntax --- diff --git a/Data/Array/Base.hs b/Data/Array/Base.hs index 711b55a..4c23b39 100644 --- a/Data/Array/Base.hs +++ b/Data/Array/Base.hs @@ -9,7 +9,7 @@ -- Stability : experimental -- Portability : non-portable -- --- $Id: Base.hs,v 1.5 2002/01/02 14:40:10 simonmar Exp $ +-- $Id: Base.hs,v 1.6 2002/03/26 17:09:52 simonmar Exp $ -- -- Basis for IArray and MArray. Not intended for external consumption; -- use IArray or MArray instead. @@ -1159,7 +1159,7 @@ thawSTUArray (UArray l u arr#) = ST $ \s1# -> case unsafeCoerce# memcpy marr# arr# n# s2# of { (# s3#, () #) -> (# s3#, STUArray l u marr# #) }}} -foreign import "memcpy" unsafe +foreign import ccall unsafe "memcpy" memcpy :: MutableByteArray# RealWorld -> ByteArray# -> Int# -> IO () {-# RULES