Index: trunk/src/libcschem/Makefile =================================================================== --- trunk/src/libcschem/Makefile (nonexistent) +++ trunk/src/libcschem/Makefile (revision 331) @@ -0,0 +1,4 @@ +CFLAGS = -I.. -I../../src_3rd +CFLAGS += -Wall -g + +compile.o: compile.c Index: trunk/src/libcschem/abstract.h =================================================================== --- trunk/src/libcschem/abstract.h (nonexistent) +++ trunk/src/libcschem/abstract.h (revision 331) @@ -0,0 +1,11 @@ +#include "libcschem/common_types.h" +#include + +typedef struct csch_amodel_s { + htip_t id2obj; /* id -> object pointer (primary storage) */ + htul_t uid2id; /* UID -> object id (cache) */ + htsl_t net2id; /* (global) net name -> net object ID */ + csch_id_t next_id; +} csch_amodel_t; + + Index: trunk/src/libcschem/common_types.h =================================================================== --- trunk/src/libcschem/common_types.h (nonexistent) +++ trunk/src/libcschem/common_types.h (revision 331) @@ -0,0 +1,2 @@ +typedef long csch_id_t; +#define CSCH_INVALID_ID ((csch_id_t)(-1)) Index: trunk/src/libcschem/compile.c =================================================================== --- trunk/src/libcschem/compile.c (nonexistent) +++ trunk/src/libcschem/compile.c (revision 331) @@ -0,0 +1,2 @@ +#include "abstract.h" +#include "concrete.h" Index: trunk/src/libcschem/concrete.h =================================================================== --- trunk/src/libcschem/concrete.h (nonexistent) +++ trunk/src/libcschem/concrete.h (revision 331) @@ -0,0 +1,9 @@ +#include "libcschem/common_types.h" + +typedef struct csch_sheet_s { + htip_t id2obj; /* id -> object pointer (primary storage); rarely delete from this (undo needs deleted objects) */ + csch_rtree_t rtree; /* IDs in screen coords */ + csch_id_t next_id; +} csch_sheet_t; + + Index: trunk/src_3rd =================================================================== --- trunk/src_3rd (nonexistent) +++ trunk/src_3rd (revision 331) Property changes on: trunk/src_3rd ___________________________________________________________________ Added: svn:externals ## -0,0 +1,3 ## +genht svn://svn.repo.hu/genht/trunk/src +libminuid svn://svn.repo.hu/libminuid/trunk/libminuid +genvector svn://svn.repo.hu/genvector/trunk/genvector