curryrs-0.1.0.0: Easy to use FFI Bridge for using Rust in Haskell

Safe HaskellSafe
LanguageHaskell2010

Types

Description

Definitions of each FFI type that can be used in Rust. These are standardized accross the Rust and Haskell Curryrs library for easy translation of function headers between the two.

Synopsis

Documentation

type Chr = CChar Source #

Used to represent Char in both languages

type Str = CString Source #

Used to represent Strings in both languages

type U8 = CUChar Source #

Used to represent 8 bit unsigned numbers in both languages

type U16 = CUShort Source #

Used to represent 16 bit unsigned numbers in both languages

type U32 = CUInt Source #

Used to represent 32 bit unsigned numbers in both languages

type U64 = CULong Source #

Used to represent 64 bit unsigned numbers in both languages

type I8 = CSChar Source #

Used to represent 8 bit signed numbers in both languages

type I16 = CShort Source #

Used to represent 16 bit signed numbers in both languages

type I32 = CInt Source #

Used to represent 32 bit signed numbers in both languages

type I64 = CLong Source #

Used to represent 64 bit signed numbers in both languages

type F32 = CFloat Source #

Used to represent 32 bit floating point numbers in both languages

type F64 = CDouble Source #

Used to represent 64 bit floating point numbers in both languages

type Boolean = CUChar Source #

Used to represent Booleans in both languages