]> granicus.if.org Git - graphviz/commitdiff
doxygen comments for vcmpid and hcmpid
authorCosta Shulyupin <constantine.shulyupin@gmail.com>
Tue, 10 May 2022 15:57:49 +0000 (18:57 +0300)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 24 May 2022 02:13:42 +0000 (19:13 -0700)
lib/ortho/maze.c

index c000b6eda6b9274462a9c9a4dac063c33ab79a28..525e9c654bf5ed739f69792ac5ba4c497dfacce3 100644 (file)
@@ -86,6 +86,8 @@ psdump (cell* gcells, int n_gcells, boxf BB, boxf* rects, int nrect)
 }
 #endif
 
+/// compares points by X and then by Y
+
 static int
 vcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
 {
@@ -98,6 +100,8 @@ vcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
   else return 0;
 }   
 
+/// compares points by Y and then by X
+
 static int
 hcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
 {