Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
cf3860cc
Commit
cf3860cc
authored
Aug 04, 2001
by
ken
Browse files
[project @ 2001-08-04 06:10:04 by ken]
Fixed assumption that int and HsInt are the same.
parent
e9b02c06
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/PrelIO.hsc
View file @
cf3860cc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#undef DEBUG_DUMP
#undef DEBUG_DUMP
-- -----------------------------------------------------------------------------
-- -----------------------------------------------------------------------------
-- $Id: PrelIO.hsc,v 1.
7
2001/0
7/13 11:48:52 rrt
Exp $
-- $Id: PrelIO.hsc,v 1.
8
2001/0
8/04 06:10:04 ken
Exp $
--
--
-- (c) The University of Glasgow, 1992-2001
-- (c) The University of Glasgow, 1992-2001
--
--
...
@@ -617,7 +617,7 @@ commitBuffer hdl raw sz count flush release = do
...
@@ -617,7 +617,7 @@ commitBuffer hdl raw sz count flush release = do
foreign import "memcpy_wrap" unsafe
foreign import "memcpy_wrap" unsafe
memcpy_off :: RawBuffer -> Int -> RawBuffer -> CSize -> IO (Ptr ())
memcpy_off :: RawBuffer -> Int -> RawBuffer -> CSize -> IO (Ptr ())
#def inline \
#def inline \
void *memcpy_wrap(char *dst,
i
nt dst_off, char *src, size_t sz) \
void *memcpy_wrap(char *dst,
HsI
nt dst_off,
const
char *src, size_t sz) \
{ return memcpy(dst+dst_off, src, sz); }
{ return memcpy(dst+dst_off, src, sz); }
-- ---------------------------------------------------------------------------
-- ---------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment