From d6cefefbf3fbf456e77eb8605727e4a18a545bfa Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Wed, 27 Jun 2012 14:49:59 -0400 Subject: [PATCH] Add macro for safe edge comparison --- lib/cgraph/cgraph.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cgraph/cgraph.h b/lib/cgraph/cgraph.h index ee58898c1..c7f5db145 100644 --- a/lib/cgraph/cgraph.h +++ b/lib/cgraph/cgraph.h @@ -412,6 +412,7 @@ extern agusererrf agseterrf(agusererrf); #define agtail(e) AGTAIL(e) #define aghead(e) AGHEAD(e) #define agopp(e) AGOPP(e) +#define ageqedge(e,f) (AGMKOUT(e) == AGMKOUT(f)) #define TAILPORT_ID "tailport" #define HEADPORT_ID "headport" -- 2.50.1