[Gridflow-cvs] [svn] commit: r5647 - in /trunk/src: gridflow.cxx gridflow.hxx source_filter.rb

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue May 11 20:40:47 EDT 2010


Author: matju
Date: Tue May 11 20:40:46 2010
New Revision: 5647

Log:
remove useless "bytes" field

Modified:
    trunk/src/gridflow.cxx
    trunk/src/gridflow.hxx
    trunk/src/source_filter.rb

Modified: trunk/src/gridflow.cxx
==============================================================================
--- trunk/src/gridflow.cxx (original)
+++ trunk/src/gridflow.cxx Tue May 11 20:40:46 2010
@@ -795,10 +795,9 @@
 
 //----------------------------------------------------------------
 
-void fclass_install(FClass *fclass, FClass *super, size_t bytes) {
+void fclass_install(FClass *fclass, FClass *super) {
 	fclass->super = super;
 	if (fclass->startup) fclass->startup(fclass);
-	fclass->bytes = bytes;
 }
 
 void install2(FClass *fclass, const char *name, int inlets, int outlets) {

Modified: trunk/src/gridflow.hxx
==============================================================================
--- trunk/src/gridflow.hxx (original)
+++ trunk/src/gridflow.hxx Tue May 11 20:40:46 2010
@@ -721,11 +721,10 @@
 	int noutlets;
 	t_class *bfclass;
 	string name;
-	size_t bytes;
 	std::map<string,AttrDecl *> attrs;
 };
 
-void fclass_install(FClass *fc, FClass *super, size_t bytes);
+void fclass_install(FClass *fc, FClass *super);
 
 //****************************************************************
 // GridOutlet represents a grid-aware outlet

Modified: trunk/src/source_filter.rb
==============================================================================
--- trunk/src/source_filter.rb (original)
+++ trunk/src/source_filter.rb Tue May 11 20:40:46 2010
@@ -278,7 +278,7 @@
 	$classes.each {|q|
 		Out.print "fclass_install(&ci#{q.name},"
 		if q.supername then Out.print "&ci#{q.supername}" else Out.print "0" end
-		Out.print ",sizeof(#{q.name}));"
+		Out.print ");"
 	}
 end
 



More information about the Gridflow-cvs mailing list