The Binding Generator C->Haskell : Implementation of Haskell Binding Modules : Type Hooks
Previous: Context Hooks
Next: Sizeof Hooks

2.3. Type Hooks

{#type ident#}

A type hooks maps a C type to a Haskell type. As an example, consider

type GInt = {#type gint#}

The type must be a defined type, primitive types, such as int, are not admissible.


The Binding Generator C->Haskell : Implementation of Haskell Binding Modules : Type Hooks
Previous: Context Hooks
Next: Sizeof Hooks