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

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

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:
            return
        self.member.resolve(module)

        # 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
                    break
            
        self.resolved = True

    def fixed_size(self):


Generated by  Doxygen 1.6.0   Back to index