xcffib-0.4.0: A cffi-based python binding for X
Data.XCB.Python.Parse
Synopsis
parseXHeaders :: FilePath -> IO [XHeader] Source
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.
renderPy :: Suite () -> String Source
calcsize :: String -> Int Source
Clone of python's struct.calcsize.