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

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

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

Reimplemented from xcbgen::xtypes::ComplexType.

Definition at line 457 of file xtypes.py.

00457                              :
        if self.resolved:
            return

        # Add the automatic protocol fields
        self.fields.append(Field(tcard8, tcard8.name, 'response_type', False, True, True))
        self.fields.append(Field(tcard8, tcard8.name, 'error_code', False, True, True))
        self.fields.append(Field(tcard16, tcard16.name, 'sequence', False, True, True))
        ComplexType.resolve(self, module)

    out = __main__.output['error']


Generated by  Doxygen 1.6.0   Back to index