summaryrefslogtreecommitdiffstats
path: root/src/Foreign
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-02-07 02:30:41 +0100
committertv <tv@krebsco.de>2023-02-07 02:30:41 +0100
commitf28825e471e206bcb7e6dc8e4874c2b771f7d24c (patch)
treec77f0bc9dd178c74f883f0c89d0ebd67366d381b /src/Foreign
parent3bd9c00812d91ade512e71a9f8e0f5b8917c3fa7 (diff)
move Graphics.* & co. to lib
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