Update of /cvsroot/q-lang/faust2pd/faust
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22345
Modified Files:
puredata.cpp
Log Message:
Sync with latest from Faust cvs.
Index: puredata.cpp
===================================================================
RCS file: /cvsroot/q-lang/faust2pd/faust/puredata.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** puredata.cpp 11 Aug 2008 08:15:15 -0000 1.4
--- puredata.cpp 3 Dec 2008 20:19:49 -0000 1.5
***************
*** 5,8 ****
--- 5,9 ----
#include <stdlib.h>
+ #include <string.h>
#include <math.h>
#include <string>
***************
*** 76,80 ****
//inline void *aligned_calloc(size_t nmemb, size_t size) { return (void*)((unsigned)(calloc((nmemb*size)+15,sizeof(char)))+15 & 0xfffffff0); }
! inline void *aligned_calloc(size_t nmemb, size_t size) { return (void*)((size_t)(calloc((nmemb*size)+15,sizeof(char)))+15 & ~15); }
<<includeIntrinsic>>
--- 77,81 ----
//inline void *aligned_calloc(size_t nmemb, size_t size) { return (void*)((unsigned)(calloc((nmemb*size)+15,sizeof(char)))+15 & 0xfffffff0); }
! //inline void *aligned_calloc(size_t nmemb, size_t size) { return (void*)((size_t)(calloc((nmemb*size)+15,sizeof(char)))+15 & ~15); }
<<includeIntrinsic>>
***************
*** 617,621 ****
t_atom arg;
SETFLOAT(&arg, (float)x->active);
! outlet_anything(x->out, gensym("active"), 1, &arg);
} else if (argc == 1 &&
(argv[0].a_type == A_FLOAT ||
--- 618,622 ----
t_atom arg;
SETFLOAT(&arg, (float)x->active);
! outlet_anything(x->out, gensym((char*)"active"), 1, &arg);
} else if (argc == 1 &&
(argv[0].a_type == A_FLOAT ||
***************
*** 700,713 ****
sizeof(t_faust), CLASS_DEFAULT,
A_GIMME, A_NULL);
! class_addmethod(faust_class, (t_method)faust_dsp, gensym("dsp"), A_NULL);
class_addanything(faust_class, faust_any);
class_addmethod(faust_class, nullfn, &s_signal, A_NULL);
! s_button = gensym("button");
! s_checkbox = gensym("checkbox");
! s_vslider = gensym("vslider");
! s_hslider = gensym("hslider");
! s_nentry = gensym("nentry");
! s_vbargraph = gensym("vbargraph");
! s_hbargraph = gensym("hbargrap");
/* give some indication that we're loaded and ready to go */
mydsp dsp = mydsp();
--- 701,714 ----
sizeof(t_faust), CLASS_DEFAULT,
A_GIMME, A_NULL);
! class_addmethod(faust_class, (t_method)faust_dsp, gensym((char*)"dsp"), A_NULL);
class_addanything(faust_class, faust_any);
class_addmethod(faust_class, nullfn, &s_signal, A_NULL);
! s_button = gensym((char*)"button");
! s_checkbox = gensym((char*)"checkbox");
! s_vslider = gensym((char*)"vslider");
! s_hslider = gensym((char*)"hslider");
! s_nentry = gensym((char*)"nentry");
! s_vbargraph = gensym((char*)"vbargraph");
! s_hbargraph = gensym((char*)"hbargrap");
/* give some indication that we're loaded and ready to go */
mydsp dsp = mydsp();
|