Safe Haskell | None |
---|---|
Language | Haskell98 |
FreeType.Support.List
Contents
Description
Please refer to the Support API > List Processing chapter of the reference.
Internal: FreeType.Support.List.Internal.
Synopsis
- type FT_List = Ptr FT_ListRec
- type FT_ListNode = Ptr FT_ListNodeRec
- data FT_ListRec = FT_ListRec {}
- data FT_ListNodeRec = FT_ListNodeRec {
- lnrPrev :: FT_ListNode
- lnrNext :: FT_ListNode
- lnrData :: Ptr ()
- ft_List_Add :: FT_List -> FT_ListNode -> IO ()
- ft_List_Insert :: FT_List -> FT_ListNode -> IO ()
- ft_List_Find :: FT_List -> Ptr () -> IO (Maybe FT_ListNode)
- ft_List_Remove :: FT_List -> FT_ListNode -> IO ()
- ft_List_Up :: FT_List -> FT_ListNode -> IO ()
- ft_List_Iterate :: FT_List -> FT_List_Iterator -> Ptr () -> IO ()
- type FT_List_Iterator = FT_ListNode -> Ptr () -> IO FT_Error
- ft_List_Finalize :: FT_List -> FT_List_Destructor -> FT_Memory -> Ptr () -> IO ()
- type FT_List_Destructor = FT_Memory -> Ptr () -> Ptr () -> IO ()
FT_List
type FT_List = Ptr FT_ListRec Source #
FT_ListNode
type FT_ListNode = Ptr FT_ListNodeRec Source #
FT_ListRec
data FT_ListRec Source #
Constructors
FT_ListRec | |
Fields
|
Instances
Storable FT_ListRec Source # | |
Defined in FreeType.Circular.Types Methods sizeOf :: FT_ListRec -> Int # alignment :: FT_ListRec -> Int # peekElemOff :: Ptr FT_ListRec -> Int -> IO FT_ListRec # pokeElemOff :: Ptr FT_ListRec -> Int -> FT_ListRec -> IO () # peekByteOff :: Ptr b -> Int -> IO FT_ListRec # pokeByteOff :: Ptr b -> Int -> FT_ListRec -> IO () # peek :: Ptr FT_ListRec -> IO FT_ListRec # poke :: Ptr FT_ListRec -> FT_ListRec -> IO () # |
FT_ListNodeRec
data FT_ListNodeRec Source #
Constructors
FT_ListNodeRec | |
Fields
|
Instances
Storable FT_ListNodeRec Source # | |
Defined in FreeType.Circular.Types Methods sizeOf :: FT_ListNodeRec -> Int # alignment :: FT_ListNodeRec -> Int # peekElemOff :: Ptr FT_ListNodeRec -> Int -> IO FT_ListNodeRec # pokeElemOff :: Ptr FT_ListNodeRec -> Int -> FT_ListNodeRec -> IO () # peekByteOff :: Ptr b -> Int -> IO FT_ListNodeRec # pokeByteOff :: Ptr b -> Int -> FT_ListNodeRec -> IO () # peek :: Ptr FT_ListNodeRec -> IO FT_ListNodeRec # poke :: Ptr FT_ListNodeRec -> FT_ListNodeRec -> IO () # |
FT_List_Add
ft_List_Add :: FT_List -> FT_ListNode -> IO () Source #
FT_List_Insert
ft_List_Insert :: FT_List -> FT_ListNode -> IO () Source #
FT_List_Find
ft_List_Find :: FT_List -> Ptr () -> IO (Maybe FT_ListNode) Source #
FT_List_Remove
ft_List_Remove :: FT_List -> FT_ListNode -> IO () Source #
FT_List_Up
ft_List_Up :: FT_List -> FT_ListNode -> IO () Source #
FT_List_Iterate
ft_List_Iterate :: FT_List -> FT_List_Iterator -> Ptr () -> IO () Source #
FT_List_Iterator
type FT_List_Iterator Source #
Arguments
= FT_ListNode | node |
-> Ptr () | user |
-> IO FT_Error |
FT_List_Finalize
ft_List_Finalize :: FT_List -> FT_List_Destructor -> FT_Memory -> Ptr () -> IO () Source #