third_party/xcbproto/src/xcbgen/xtypes.py
def make_fd_of(self, module, complex_type, fd_name):
        '''
        Method for making a fd member of a structure.
        '''
        new_fd = Field(self, module.get_type_name('INT32'), fd_name, True, False, False, None, True)
        # We dump the _placeholder_byte if any fields are added.
        for (idx, field) in enumerate(complex_type.fields):
            if field == _placeholder_byte:
                complex_type.fields[idx] = new_fd
                return

        complex_type.fields.append(new_fd)

        Method for making a fd member of a structure.
        
Method for making a fd member of a structure.
Method for making a fd member of a structure .
def make_fd_of(self, module, complex_type, fd_name):
        new_fd = Field(self, module.get_type_name('INT32'), fd_name, True, False, False, None, True)
        for (idx, field) in enumerate(complex_type.fields):
            if field == _placeholder_byte:
                complex_type.fields[idx] = new_fd
                return
        complex_type.fields.append(new_fd)
def make_fd_of ( self , module , complex_type , fd_name ) : new_fd = Field ( self , module . get_type_name ( 'INT32' ) , fd_name , True , False , False , None , True ) for ( idx , field ) in enumerate ( complex_type . fields ) : if field == _placeholder_byte : complex_type . fields [ idx ] = new_fd return complex_type . fields . append ( new_fd )
Method for making a fd member of a structure.
Method for making a fd member of a structure .
'''
        Method for making a fd member of a structure.
        ''' # We dump the _placeholder_byte if any fields are added.
self
module
complex_type
fd_name