Index: obj_padstack_list.h =================================================================== --- obj_padstack_list.h (revision 12218) +++ obj_padstack_list.h (revision 12219) @@ -23,25 +23,9 @@ #ifndef PCB_OBJ_PADSTACK_LIST_H #define PCB_OBJ_PADSTACK_LIST_H -#define PCB_PADSTACK_MAX_SHAPES 31 +#include "obj_padstack.h" -#include "obj_common.h" -#define PCB_PADSTACK_INVALID ((pcb_cardinal_t)(-1)) - -/* The actual padstack is just a reference to a padstack proto within the same data */ -struct pcb_padstack_s { - PCB_ANYOBJECTFIELDS; - pcb_cardinal_t proto; /* reference to a pcb_padstack_proto_t within pcb_data_t */ - pcb_coord_t x, y; - struct { - unsigned long used; - char *shape; /* indexed by layer ID */ - } thermal; - gdl_elem_t link; /* a padstack is in a list in pcb_data_t as a global object */ -}; - - /* List of padstatcks */ #define TDL(x) padstacklist_ ## x #define TDL_LIST_T padstacklist_t