[Gridflow-cvs] [svn] commit: r4538 - /trunk/base/flow_objects.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Oct 31 10:57:06 EDT 2009


Author: matju
Date: Sat Oct 31 10:57:05 2009
New Revision: 4538

Log:
oops

Modified:
    trunk/base/flow_objects.c

Modified: trunk/base/flow_objects.c
==============================================================================
--- trunk/base/flow_objects.c (original)
+++ trunk/base/flow_objects.c Sat Oct 31 10:57:05 2009
@@ -1365,15 +1365,13 @@
 	\attr int form();
 	\attr int form_val;
 	\constructor (int form=0) {form_val=form; initialize3();}
-	void initialize3();
-};
-
+	void initialize3() {bself->noutlets_set(form_val ? 2 : 4);}
+};
 struct Stats {
 	int64 yy,yx,xx,y,x,area;
 	int64 x1,x2;
 	Stats() {yy=yx=xx=y=x=area=0;}
 };
-
 #define AT(y,x) dat[(y)*sx+(x)]
 template <class T> void flood_fill(T *dat, int sy, int sx, int y, int x, Stats *stat, int label, int form) {
 	/* find x1,x2 such that all the x of that horizontal segment are x1<=x<x2 */
@@ -1442,10 +1440,6 @@
 	form_val=form;
 	initialize3();
 }
-void GridLabeling::initialize3() {
-	bself->noutlets_set(form_val ? 2 : 4);
-}
-
 \end class {install("#labelling",1,0); add_creator("#labeling");}
 
 //****************************************************************



More information about the Gridflow-cvs mailing list