view ueda/libuschem/graphsym.h @ 139:bf188727e606

donl-rename-parts reader: no tEDAx-style escapes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Sep 2020 04:25:11 +0000
parents cd92449fdb51
children
line wrap: on
line source

/*
 * data structures for graphical symbols
 */

struct graphsym {
	char	*gs_name;
	char	*gs_pathname;
	struct	graphsym_pindef *gs_pins;
	int	gs_npins;
	int	gs_varpins;
	int	gs_forcenets;
	struct	graphsym *gs_nextinhash;
};

struct graphsym_pindef {
	int	gspd_x;
	int	gspd_y;
	char	*gspd_pinname;
	char	*gspd_pinnumber;
	char	*gspd_forcenet;
	struct	graphsym_pindef *gspd_next;
};

struct graphsym_pininst {
	int	x;
	int	y;
	struct	schemobj *compinst;
	struct	graphsym_pindef *pindef;
	struct	graphsym_pininst *nextinhash;
};