binaryen-0.0.4.0: Haskell bindings to binaryen
Safe HaskellNone
LanguageHaskell2010

Binaryen.Index

Description

The Binaryen index type.

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 Index Source #

Constructors

Index Word32 

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