xcffib-0.4.0: A cffi-based python binding for X

Safe HaskellNone
LanguageHaskell98

Data.XCB.Python.Parse

Synopsis

Documentation

xform :: [XHeader] -> [(String, Suite ())] Source

Generate the code for a set of X headers. Note that the code is generated in dependency order, NOT in the order you pass them in. Thus, you get a string (a suggested filename) along with the python code for that XHeader back.

calcsize :: String -> Int Source

Clone of python's struct.calcsize.