third_party/xcbproto/src/xcbgen/xtypes.py
def make_member_of(self, module, switch_type, field_type, field_name, visible, wire, auto, enum=None):
        '''
        register BitcaseType with the corresponding SwitchType

        module is the global module object.
        complex_type is the structure object.
        see Field for the meaning of the other parameters.
        '''
        new_field = Field(self, field_type, field_name, visible, wire, auto, enum)

        # We dump the _placeholder_byte if any bitcases are added.
        for (idx, field) in enumerate(switch_type.bitcases):
            if field == _placeholder_byte:
                switch_type.bitcases[idx] = new_field
                return

        switch_type.bitcases.append(new_field)

        register BitcaseType with the corresponding SwitchType

        module is the global module object.
        complex_type is the structure object.
        see Field for the meaning of the other parameters.
        
register BitcaseType with the corresponding SwitchType
module is the global module object.
complex_type is the structure object.
see Field for the meaning of the other parameters.
register BitcaseType with the corresponding SwitchType module is the global module object . complex_type is the structure object . see Field for the meaning of the other parameters .
def make_member_of(self, module, switch_type, field_type, field_name, visible, wire, auto, enum=None):
        new_field = Field(self, field_type, field_name, visible, wire, auto, enum)
        for (idx, field) in enumerate(switch_type.bitcases):
            if field == _placeholder_byte:
                switch_type.bitcases[idx] = new_field
                return
        switch_type.bitcases.append(new_field)
def make_member_of ( self , module , switch_type , field_type , field_name , visible , wire , auto , enum = None ) : new_field = Field ( self , field_type , field_name , visible , wire , auto , enum ) for ( idx , field ) in enumerate ( switch_type . bitcases ) : if field == _placeholder_byte : switch_type . bitcases [ idx ] = new_field return switch_type . bitcases . append ( new_field )
register BitcaseType with the corresponding SwitchType
module is the global module object.
register BitcaseType with the corresponding SwitchType module is the global module object .
'''
        register BitcaseType with the corresponding SwitchType

        module is the global module object.
        complex_type is the structure object.
        see Field for the meaning of the other parameters.
        ''' # We dump the _placeholder_byte if any bitcases are added.
self
module
switch_type
field_type
field_name
visible
wire
auto
enum