From 76fe2228960a254ad1083113d53890c4d71cca8d Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 26 Mar 2002 17:09:52 +0000 Subject: [PATCH] [project @ 2002-03-26 17:09:52 by simonmar] Update foreign import declaration to new syntax --- Data/Array/Base.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4