projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
125018b
)
fix description of CWStringLen
author
Ross Paterson
<ross@soi.city.ac.uk>
Tue, 5 Jun 2007 22:33:45 +0000
(22:33 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Tue, 5 Jun 2007 22:33:45 +0000
(22:33 +0000)
Foreign/C/String.hs
patch
|
blob
|
history
diff --git
a/Foreign/C/String.hs
b/Foreign/C/String.hs
index
8a23c6b
..
59e7d7b
100644
(file)
--- a/
Foreign/C/String.hs
+++ b/
Foreign/C/String.hs
@@
-365,7
+365,7
@@
charsToCChars xs = map castCharToCChar xs
-- terminated by NUL.
type CWString = Ptr CWchar
--- | A wide character string with explicit length information in bytes
+-- | A wide character string with explicit length information in 'CWchar's
-- instead of a terminating NUL (allowing NUL characters in the middle
-- of the string).
type CWStringLen = (Ptr CWchar, Int)