binaryen-0.0.4.0: Haskell bindings to binaryen
Safe HaskellNone
LanguageHaskell2010

Binaryen.Type

Description

Core types.

See https://github.com/WebAssembly/binaryen/blob/master/src/binaryen-c.h for API documentation.

This module is intended to be imported qualified.

Documentation

newtype Type Source #

Constructors

Type CUIntPtr 

Instances

Instances details
Eq Type Source # 
Instance details

Defined in Binaryen.Type

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Show Type Source # 
Instance details

Defined in Binaryen.Type

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Storable Type Source # 
Instance details

Defined in Binaryen.Type

Methods

sizeOf :: Type -> Int #

alignment :: Type -> Int #

peekElemOff :: Ptr Type -> Int -> IO Type #

pokeElemOff :: Ptr Type -> Int -> Type -> IO () #

peekByteOff :: Ptr b -> Int -> IO Type #

pokeByteOff :: Ptr b -> Int -> Type -> IO () #

peek :: Ptr Type -> IO Type #

poke :: Ptr Type -> Type -> IO () #

expand :: Type -> Ptr Type -> IO () Source #