fix description of CWStringLen
authorRoss Paterson <ross@soi.city.ac.uk>
Tue, 5 Jun 2007 22:33:45 +0000 (22:33 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Tue, 5 Jun 2007 22:33:45 +0000 (22:33 +0000)
Foreign/C/String.hs

index 8a23c6b..59e7d7b 100644 (file)
@@ -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)