SDL-0.6.5.1: Binding to libSDL

Copyright(c) David Himmelstrup 2005
LicenseBSD-like
Maintainer[email protected]
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Graphics.UI.SDL.Utilities

Description

Various small functions which makes the binding process easier.

Documentation

toBitmask :: (Enum a b, Bits b, Num b) => [a] -> b Source

fromBitmask :: (Bounded a, Enum a b, Bits b, Num b) => b -> [a] Source

fromCInt :: Num a => CInt -> a Source