X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xcbgen%2Fstate.py;h=10a8722ea1422dd660bfd1f9814487a732d2d610;hb=0d8f09b6469c45be08dae3665d352269ffcc7df2;hp=59b56080fe4f9901330c408835fc2a80a35f0d77;hpb=7820273c4b00209d5ace8cbfdb1400728e15c158;p=free-sw%2Fxcb%2Fproto diff --git a/xcbgen/state.py b/xcbgen/state.py index 59b5608..10a8722 100644 --- a/xcbgen/state.py +++ b/xcbgen/state.py @@ -4,9 +4,9 @@ This module contains the namespace class and the singleton module class. from os.path import dirname, basename from xml.etree.cElementTree import parse -import matcher -from error import * -from types import * +from xcbgen import matcher +from xcbgen.error import * +from xcbgen.xtypes import * import __main__ @@ -74,9 +74,11 @@ class Module(object): self.add_type('CARD8', '', ('uint8_t',), tcard8) self.add_type('CARD16', '', ('uint16_t',), tcard16) self.add_type('CARD32', '', ('uint32_t',), tcard32) + self.add_type('CARD64', '', ('uint64_t',), tcard64) self.add_type('INT8', '', ('int8_t',), tint8) self.add_type('INT16', '', ('int16_t',), tint16) self.add_type('INT32', '', ('int32_t',), tint32) + self.add_type('INT64', '', ('int64_t',), tint64) self.add_type('BYTE', '', ('uint8_t',), tcard8) self.add_type('BOOL', '', ('uint8_t',), tcard8) self.add_type('char', '', ('char',), tchar)