Update of /cvsroot/pure-data/externals/frankenstein In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17797
Modified Files: Makefile rhythms_memory.c Log Message: fixed silly bugs
Index: rhythms_memory.c =================================================================== RCS file: /cvsroot/pure-data/externals/frankenstein/rhythms_memory.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** rhythms_memory.c 28 Dec 2005 14:03:54 -0000 1.10 --- rhythms_memory.c 7 Jan 2006 12:04:27 -0000 1.11 *************** *** 209,213 **** { post("rhythms_memory: rhythm %i %i was not found ", x->next_main_rhythm_out, x->next_sub_rhythm_out); ! return 0; }
--- 209,213 ---- { post("rhythms_memory: rhythm %i %i was not found ", x->next_main_rhythm_out, x->next_sub_rhythm_out); ! return; }
*************** *** 215,219 **** { error("rhythms_memory: wanted_rhythm should not be null! "); ! return 0; }
--- 215,219 ---- { error("rhythms_memory: wanted_rhythm should not be null! "); ! return; }
*************** *** 384,390 **** x->bangs_out = outlet_new(&x->x_obj, gensym("bang")); // this outputs lists of events ! x->list_out = outlet_new(&x->x_obj, "symbol"); // this outputs info on the last detected rhythm ! x->info_out = outlet_new(&x->x_obj, "symbol");
// inlet for rhythms in the form of lists --- 384,390 ---- x->bangs_out = outlet_new(&x->x_obj, gensym("bang")); // this outputs lists of events ! x->list_out = outlet_new(&x->x_obj, gensym("symbol")); // this outputs info on the last detected rhythm ! x->info_out = outlet_new(&x->x_obj, gensym("symbol"));
// inlet for rhythms in the form of lists *************** *** 400,403 **** --- 400,404 ---- }
+ // debugging function void crash(t_rhythms_memory *x) *************** *** 405,411 **** int *a; a = malloc(sizeof(int)); ! a[9999999999999999999] = 1; }
void rhythms_memory_setup(void) { --- 406,413 ---- int *a; a = malloc(sizeof(int)); ! a[99999999999] = 1; }
+ void rhythms_memory_setup(void) {
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/frankenstein/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile 14 Dec 2005 11:48:47 -0000 1.8 --- Makefile 7 Jan 2006 12:04:27 -0000 1.9 *************** *** 2,12 **** #VC="C:\Programmi\Microsoft Visual Studio .NET\Vc7" VC="C:\Programmi\Microsoft Visual Studio .NET\Vc7" ! #PDPATH="H:\PureData\pd-0.38-3.msw\pd" ! PDPATH="C:\Documents and Settings\Davide\Documenti\personali\pd-0.38-3.msw\pd"
current: pd_nt distclean
! pd_nt: chord_melo.dll chords_memory.dll harmonizer.dll GArhythm.dll ritmo1.dll rhythms_memory.dll
.SUFFIXES: .dll --- 2,12 ---- #VC="C:\Programmi\Microsoft Visual Studio .NET\Vc7" VC="C:\Programmi\Microsoft Visual Studio .NET\Vc7" ! PDPATH="H:\PureData\pd-0.38-3.msw\pd" ! #PDPATH="C:\Documents and Settings\Davide\Documenti\personali\pd-0.38-3.msw\pd"
current: pd_nt distclean
! pd_nt: chord_melo.dll chords_memory.dll harmonizer.dll GArhythm.dll ritmo1.dll rhythms_memory.dll themes_memory.dll
.SUFFIXES: .dll