summaryrefslogtreecommitdiffstats
path: root/src/Foreign
diff options
context:
space:
mode:
Diffstat (limited to 'src/Foreign')
-rw-r--r--src/Foreign/C/String/Extra.hs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Foreign/C/String/Extra.hs b/src/Foreign/C/String/Extra.hs
deleted file mode 100644
index a7b6dfe..0000000
--- a/src/Foreign/C/String/Extra.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-module Foreign.C.String.Extra where
-
-import Data.Word (Word8)
-import Foreign.C.String (castCCharToChar)
-import Foreign.C.Types (CChar)
-import qualified Data.Char as Char
-
-
-castCCharToWord8 :: CChar -> Word8
-castCCharToWord8 = fromIntegral . Char.ord . castCCharToChar