add a type signature
authorsimonmar@microsoft.com <unknown>
Thu, 1 Jun 2006 11:53:35 +0000 (11:53 +0000)
committersimonmar@microsoft.com <unknown>
Thu, 1 Jun 2006 11:53:35 +0000 (11:53 +0000)
compiler/utils/Encoding.hs

index c7f9070..5afe870 100644 (file)
@@ -138,6 +138,7 @@ countUTF8Chars ptr bytes = go ptr 0
 
 unPtr (Ptr a) = a
 
+utf8EncodeChar :: Char -> Ptr Word8 -> IO (Ptr Word8)
 utf8EncodeChar c ptr =
   let x = ord c in
   case () of