[PD-cvs] pd/src m_sched.c,1.5.4.8,1.5.4.9
Tim Blechmann
timblech at users.sourceforge.net
Fri Nov 26 11:11:06 CET 2004
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8958
Modified Files:
Tag: devel_0_38
m_sched.c
Log Message:
fixed bug in idle callback
Index: m_sched.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_sched.c,v
retrieving revision 1.5.4.8
retrieving revision 1.5.4.9
diff -C2 -d -r1.5.4.8 -r1.5.4.9
*** m_sched.c 26 Nov 2004 08:38:03 -0000 1.5.4.8
--- m_sched.c 26 Nov 2004 10:11:04 -0000 1.5.4.9
***************
*** 625,630 ****
typedef struct _sched_callback
{
! t_int (*function) (t_int** argv);
! t_int** argv;
t_int argc;
struct _sched_callback* next;
--- 625,630 ----
typedef struct _sched_callback
{
! t_int (*function) (t_int* argv);
! t_int* argv;
t_int argc;
struct _sched_callback* next;
***************
*** 635,639 ****
static volatile t_sched_callback * cb_fifo_end = NULL;
! void set_callback(t_int (*callback) (t_int** argv), t_int** argv, t_int argc)
{
t_sched_callback* new = (t_sched_callback*) getbytes
--- 635,639 ----
static volatile t_sched_callback * cb_fifo_end = NULL;
! void set_callback(t_int (*callback) (t_int* argv), t_int* argv, t_int argc)
{
t_sched_callback* new = (t_sched_callback*) getbytes
***************
*** 641,645 ****
new->function = callback;
! new->argv = (t_int**) getbytes (argc * sizeof (t_int*));
new->argc = argc;
new->next = NULL;
--- 641,645 ----
new->function = callback;
! new->argv = (t_int*) copybytes (argv, argc * sizeof (t_int));
new->argc = argc;
new->next = NULL;
More information about the Pd-cvs
mailing list