binaryen-0.0.6.0: Haskell bindings to binaryen
Safe HaskellNone
LanguageHaskell2010

Binaryen.Function

Description

Functions.

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

Constructors

Function (Ptr Function) 

Instances

Instances details
Eq Function Source # 
Instance details

Defined in Binaryen.Function

Methods

(==) :: Function -> Function -> Bool

(/=) :: Function -> Function -> Bool

Show Function Source # 
Instance details

Defined in Binaryen.Function

Methods

showsPrec :: Int -> Function -> ShowS

show :: Function -> String

showList :: [Function] -> ShowS

Storable Function Source # 
Instance details

Defined in Binaryen.Function

Methods

sizeOf :: Function -> Int

alignment :: Function -> Int

peekElemOff :: Ptr Function -> Int -> IO Function

pokeElemOff :: Ptr Function -> Int -> Function -> IO ()

peekByteOff :: Ptr b -> Int -> IO Function

pokeByteOff :: Ptr b -> Int -> Function -> IO ()

peek :: Ptr Function -> IO Function

poke :: Ptr Function -> Function -> IO ()

getName :: Function -> IO (Ptr CChar) Source #

importGetModule :: Function -> IO (Ptr CChar) Source #

importGetBase :: Function -> IO (Ptr CChar) Source #

runPasses :: Function -> Module -> Ptr (Ptr CChar) -> Index -> IO () Source #