• Miguel Angel Ajo's avatar
    std::vector and std::string items · 9398eb97
    Miguel Angel Ajo authored
    DLIST iterator code, now we can do:
    
        for module in pcb.m_Modules:
        	print module.GetReference()
    
    instead of:
    
        module = pcb.m_Modules
    
        while module:
    	print module.GetReference()
    	module = module.Next()
    
    or even:
        module_list = list(pcb.m_Modules)
    9398eb97
pcbnew.i 5.48 KB