curryrs 0.1.0.0 → 0.1.1.0
raw patch · 2 files changed
+12/−10 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Types: type Boolean = CUChar
+ Types: type Boolean = Word8
- Types: type I16 = CShort
+ Types: type I16 = Int16
- Types: type I32 = CInt
+ Types: type I32 = Int32
- Types: type I64 = CLong
+ Types: type I64 = Int64
- Types: type I8 = CSChar
+ Types: type I8 = Int8
- Types: type U16 = CUShort
+ Types: type U16 = Word16
- Types: type U32 = CUInt
+ Types: type U32 = Word32
- Types: type U64 = CULong
+ Types: type U64 = Word64
- Types: type U8 = CUChar
+ Types: type U8 = Word8
Files
- curryrs.cabal +1/−1
- src/Types.hs +11/−9
curryrs.cabal view
@@ -1,5 +1,5 @@ name: curryrs-version: 0.1.0.0+version: 0.1.1.0 synopsis: Easy to use FFI Bridge for using Rust in Haskell description: Please see README.md for more information on how to use this library. homepage: https://github.com/mgattozzi/curryrs#readme
src/Types.hs view
@@ -20,6 +20,8 @@ , Boolean ) where +import Data.Int+import Data.Word import Foreign.C.Types import Foreign.C.String @@ -36,35 +38,35 @@ -- | -- Used to represent 8 bit unsigned numbers in both languages-type U8 = CUChar+type U8 = Word8 -- | -- Used to represent 16 bit unsigned numbers in both languages-type U16 = CUShort+type U16 = Word16 -- | -- Used to represent 32 bit unsigned numbers in both languages-type U32 = CUInt+type U32 = Word32 -- | -- Used to represent 64 bit unsigned numbers in both languages-type U64 = CULong+type U64 = Word64 -- | -- Used to represent 8 bit signed numbers in both languages-type I8 = CSChar+type I8 = Int8 -- | -- Used to represent 16 bit signed numbers in both languages-type I16 = CShort+type I16 = Int16 -- | -- Used to represent 32 bit signed numbers in both languages-type I32 = CInt+type I32 = Int32 -- | -- Used to represent 64 bit signed numbers in both languages-type I64 = CLong+type I64 = Int64 -- | -- Used to represent 32 bit floating point numbers in both languages@@ -76,4 +78,4 @@ -- | -- Used to represent Booleans in both languages-type Boolean = CUChar+type Boolean = Word8