Logo Search packages:      
Sourcecode: xcb-proto version File versions

def xcbgen::xtypes::ListType::resolve (   self,

Abstract method for resolving a type.
This should make sure any referenced types are already declared.

Reimplemented from xcbgen::xtypes::Type.

Definition at line 191 of file xtypes.py.

00191                              :
        if self.resolved:

        # Find my length field again.  We need the actual Field object in the expr.
        # This is needed because we might have added it ourself above.
        if not self.fixed_size():
            for field in self.parent.fields:
                if field.field_name == self.expr.lenfield_name and field.wire:
                    self.expr.lenfield = field
        self.resolved = True

    def fixed_size(self):

Generated by  Doxygen 1.6.0   Back to index