view ueda/libuschem/graphsym.h @ 11:73abf2c13884

libunet: nethash functions implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 01 Aug 2015 22:38:00 +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;
};