[Gridflow-cvs] [svn] commit: r3762 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Jun 3 23:09:18 EDT 2008


Author: matju
Date: Tue Jun  3 23:09:17 2008
New Revision: 3762

Log:
fix GEM holdname bug introduced in GridFlow 0.9.1 approximately

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Tue Jun  3 23:09:17 2008
@@ -597,6 +597,8 @@
 	bself->inlets[0] = 0; // inlet 0 of this table is not in use
 	bself->ninlets_set( fclasses[classsym->s_name]->ninlets ,false);
 	bself->noutlets_set(fclasses[classsym->s_name]->noutlets,false);
+	t_allocator alloc = fclasses[string(classsym->s_name)]->allocator;
+	bself->self = alloc(bself,0,j,(t_atom2 *)argv);
 #ifdef HAVE_GEM
 	bself->gemself = (CPPExtern *)((void **)bself->self+11); /* not 64-bit-safe */
 	CPPExtern::m_holder = 0;
@@ -604,8 +606,6 @@
 	CPPExtern::m_holdname=0;
 #endif
 #endif
-	t_allocator alloc = fclasses[string(classsym->s_name)]->allocator;
-	bself->self = alloc(bself,0,j,(t_atom2 *)argv);
 
 	while (j<argc) {
 		j++;
@@ -870,4 +870,5 @@
 	signal(SIGBUS, SIG_DFL);
 	atexit(gridflow_unsetup);
     } catch (Barf &oozy) {post("Init_gridflow error: %s",oozy.text);}
-}
+    for (int i=-80; i<-70; i++) post("mod(%d,75) = %d",i,mod(i,75));
+}



More information about the Gridflow-cvs mailing list