X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xcbgen%2Ftypes.py;h=ce2842f8f6d6c994d45255b9e715e943ebc029ee;hb=0212c5ea88f4387a1a200ef80b2e844d01ace470;hp=a84420f85faf382ecf45efaced1e44d0373992df;hpb=7820273c4b00209d5ace8cbfdb1400728e15c158;p=free-sw%2Fxcb%2Fproto diff --git a/xcbgen/types.py b/xcbgen/types.py index a84420f..ce2842f 100644 --- a/xcbgen/types.py +++ b/xcbgen/types.py @@ -25,6 +25,7 @@ class Type(object): self.resolved = False # Screw isinstance(). + self.is_simple = False self.is_list = False self.is_expr = False self.is_container = False @@ -82,6 +83,7 @@ class SimpleType(Type): ''' def __init__(self, name, size): Type.__init__(self, name) + self.is_simple = True self.size = size self.nmemb = 1