binaryen-0.0.2.0: Haskell bindings to binaryen
Safe HaskellNone
LanguageHaskell2010

Binaryen

Contents

Description

Global Binaryen state.

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

This module is intended to be imported qualified.

Synopsis

Documentation

Re-exports

data Event Source #

Instances

Instances details
Eq Event Source # 
Instance details

Defined in Binaryen.Event

Methods

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

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

Show Event Source # 
Instance details

Defined in Binaryen.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Storable Event Source # 
Instance details

Defined in Binaryen.Event

Methods

sizeOf :: Event -> Int #

alignment :: Event -> Int #

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

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

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

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

peek :: Ptr Event -> IO Event #

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

data Export Source #

Instances

Instances details
Eq Export Source # 
Instance details

Defined in Binaryen.Export

Methods

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

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

Show Export Source # 
Instance details

Defined in Binaryen.Export

Storable Export Source # 
Instance details

Defined in Binaryen.Export

data Features Source #

Instances

Instances details
Eq Features Source # 
Instance details

Defined in Binaryen.Features

Show Features Source # 
Instance details

Defined in Binaryen.Features

Storable Features Source # 
Instance details

Defined in Binaryen.Features

Bits Features Source # 
Instance details

Defined in Binaryen.Features

data Function Source #

Instances

Instances details
Eq Function Source # 
Instance details

Defined in Binaryen.Function

Show Function Source # 
Instance details

Defined in Binaryen.Function

Storable Function Source # 
Instance details

Defined in Binaryen.Function

data Global Source #

Instances

Instances details
Eq Global Source # 
Instance details

Defined in Binaryen.Global

Methods

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

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

Show Global Source # 
Instance details

Defined in Binaryen.Global

Storable Global Source # 
Instance details

Defined in Binaryen.Global

data Index Source #

Instances

Instances details
Eq Index Source # 
Instance details

Defined in Binaryen.Index

Methods

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

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

Num Index Source # 
Instance details

Defined in Binaryen.Index

Show Index Source # 
Instance details

Defined in Binaryen.Index

Methods

showsPrec :: Int -> Index -> ShowS #

show :: Index -> String #

showList :: [Index] -> ShowS #

Storable Index Source # 
Instance details

Defined in Binaryen.Index

Methods

sizeOf :: Index -> Int #

alignment :: Index -> Int #

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

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

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

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

peek :: Ptr Index -> IO Index #

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

data Module Source #

Instances

Instances details
Eq Module Source # 
Instance details

Defined in Binaryen.Module

Methods

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

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

Show Module Source # 
Instance details

Defined in Binaryen.Module

Storable Module Source # 
Instance details

Defined in Binaryen.Module

data Op Source #

Instances

Instances details
Eq Op Source # 
Instance details

Defined in Binaryen.Op

Methods

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

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

Show Op Source # 
Instance details

Defined in Binaryen.Op

Methods

showsPrec :: Int -> Op -> ShowS #

show :: Op -> String #

showList :: [Op] -> ShowS #

Storable Op Source # 
Instance details

Defined in Binaryen.Op

Methods

sizeOf :: Op -> Int #

alignment :: Op -> Int #

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

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

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

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

peek :: Ptr Op -> IO Op #

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

data Relooper Source #

Instances

Instances details
Eq Relooper Source # 
Instance details

Defined in Binaryen.Relooper

Show Relooper Source # 
Instance details

Defined in Binaryen.Relooper

Storable Relooper Source # 
Instance details

Defined in Binaryen.Relooper

data RelooperBlock Source #

Instances

Instances details
Eq RelooperBlock Source # 
Instance details

Defined in Binaryen.Relooper

Show RelooperBlock Source # 
Instance details

Defined in Binaryen.Relooper

data Type Source #

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 () #