[Gridflow-cvs] [svn] commit: r3352 - /trunk/base/grid.h

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Mar 30 14:15:54 EDT 2008


Author: matju
Date: Sun Mar 30 14:15:53 2008
New Revision: 3352

Log:
remove several unused \class \end pairs

Modified:
    trunk/base/grid.h

Modified: trunk/base/grid.h
==============================================================================
--- trunk/base/grid.h (original)
+++ trunk/base/grid.h Sun Mar 30 14:15:53 2008
@@ -349,7 +349,7 @@
 //****************************************************************
 // a Dim is a list of dimensions that describe the shape of a grid
 typedef int32 Card; /* should be switched to long int soon */
-\class Dim : CObject {
+struct Dim : CObject {
 	static const Card MAX_DIM=16; // maximum number of dimensions in a grid
 	Card n;
 	Card v[MAX_DIM]; // real stuff
@@ -382,7 +382,6 @@
 		return true;
 	}
 };
-\end class Dim
 
 //****************************************************************
 //NumberTypeE is a very small int identifying the type of the (smallest) elements of a grid
@@ -483,7 +482,6 @@
 	template <class T> void   pack(long n, T *in, uint8 *out);
 	template <class T> void unpack(long n, uint8 *in, T *out);
 };
-\end class
 
 int high_bit(uint32 n);
 int  low_bit(uint32 n);
@@ -572,7 +570,6 @@
 #endif
 
 extern NumberType number_type_table[];
-
 extern Ruby number_type_dict; // GridFlow. at number_type_dict={}
 extern Ruby op_dict; // GridFlow. at op_dict={}
 
@@ -726,7 +723,7 @@
 } GridHandler;
 
 struct GridObject;
-\class GridInlet : CObject {
+struct GridInlet : CObject {
 	GridObject *parent;
 	const GridHandler *gh;
 private:
@@ -765,7 +762,6 @@
 private:
 	template <class T> void from_grid2(Grid *g, T foo);
 };
-\end class GridInlet
 
 //****************************************************************
 // for use by source_filter.rb ONLY (for \grin and \classinfo)
@@ -783,7 +779,7 @@
 
 //****************************************************************
 // GridOutlet represents a grid-aware outlet
-\class GridOutlet : CObject {
+struct GridOutlet : CObject {
 // number of (minimum,maximum) BYTES to send at once
 // starting with version 0.8, this is amount of BYTES, not amount of NUMBERS.
 	static const long MIN_PACKET_SIZE = 1<<8;
@@ -832,7 +828,6 @@
 		dim=0;
 	}
 };
-\end class GridOutlet
 
 //****************************************************************
 



More information about the Gridflow-cvs mailing list