memops.[ch] -> primitive-memops.[ch] 0_3
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Fri, 23 Apr 2010 12:10:39 +0000 (12:10 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Fri, 23 Apr 2010 12:10:39 +0000 (12:10 +0000)
Data/Primitive/ByteArray.hs
cbits/primitive-memops.c [moved from cbits/memops.c with 100% similarity]
cbits/primitive-memops.h [moved from cbits/memops.h with 100% similarity]
primitive.cabal

index 585fb38..79ffeaf 100644 (file)
@@ -163,22 +163,22 @@ memsetByteArray (MutableByteArray dst#) doff c sz
 
 
 
-foreign import ccall unsafe "memops.h memcpy_off"
+foreign import ccall unsafe "primitive-memops.h memcpy_off"
   memcpy_mba :: MutableByteArray# s -> CInt
              -> MutableByteArray# s -> CInt
              -> CSize -> IO ()
 
-foreign import ccall unsafe "memops.h memcpy_off"
+foreign import ccall unsafe "primitive-memops.h memcpy_off"
   memcpy_ba :: MutableByteArray# s -> CInt
             -> ByteArray# -> CInt
             -> CSize -> IO ()
 
-foreign import ccall unsafe "memops.h memmove_off"
+foreign import ccall unsafe "primitive-memops.h memmove_off"
   memmove_mba :: MutableByteArray# s -> CInt
               -> MutableByteArray# s -> CInt
               -> CSize -> IO ()
 
-foreign import ccall unsafe "memops.h memset_off"
+foreign import ccall unsafe "primitive-memops.h memset_off"
   memset_mba :: MutableByteArray# s -> CInt -> CInt -> CSize -> IO ()
 
 instance Data ByteArray where
similarity index 100%
rename from cbits/memops.c
rename to cbits/primitive-memops.c
similarity index 100%
rename from cbits/memops.h
rename to cbits/primitive-memops.h
index d193b96..ce21fe9 100644 (file)
@@ -32,7 +32,7 @@ Library
   Ghc-Options: -O2
 
   Include-Dirs: cbits
-  Install-Includes: memops.h
-  includes: memops.h
-  c-sources: cbits/memops.c
+  Install-Includes: primitive-memops.h
+  includes: primitive-memops.h
+  c-sources: cbits/primitive-memops.c