Hs2lib-0.4.8: A Library and Preprocessor that makes it easier to create shared libs from Haskell programs.

Portabilityportable
Stabilityexperimental
Maintainertamar@zhox.com

WinDll.Structs.Types

Description

Types used when describing structures in WinDll

Synopsis

Documentation

type Types = [Type]Source

data Ann Source

Annotation on functions, This allows more complex types to be expressed

Constructors

Ann 

Fields

annArrayIndices :: [Int]

Offsets into the type list to indicate which fields are counters for lists

annArrayIsList :: Bool

Indicates if the field type is a List type.

annStableIndices :: [Int]

Indices/Offsets to indicate whether this function has any StablePtr values

annWorkingSet :: [(String, String)]

Copy of the definition list for the Haskell translation functions

annWorkingSetC :: [(String, String)]

Copy of the definition list for the C translation functions

annWorkingSetCSize :: [(String, Int)]

Copy of the definition list for the C sizes translation functions

annWorkingSetCs :: Bool -> [(String, String)]

Copy of the definition list for the C# translation functions

data AnnType Source

Annotated type, basically a 4-tuple that holds all possible information on a datatype field

Constructors

AnnType 

Fields

antName :: Name

The field name, if this is a record the name will be the record name.

antType :: Type

The preprocessed type of the field

antAnn :: Ann

The type annotations for the antType

antOrigType :: Type

The original unpreprocessed type

noAnn :: AnnSource

Generic empty annotation

findStrings' :: Data a => a -> [String]Source

Find any Names embedded within any arbitraty structures