[PD-cvs] pd/src x_gui.c, 1.3.4.1.2.2, 1.3.4.1.2.3 x_list.c, 1.2.2.4, 1.2.2.5 x_qlist.c, 1.2, 1.2.8.1

Mathieu Bouchard matju at users.sourceforge.net
Fri Oct 28 14:17:13 CEST 2005


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30051

Modified Files:
      Tag: devel_0_39
	x_gui.c x_list.c x_qlist.c 
Log Message:
C++ support


Index: x_qlist.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_qlist.c,v
retrieving revision 1.2
retrieving revision 1.2.8.1
diff -C2 -d -r1.2 -r1.2.8.1
*** x_qlist.c	6 Sep 2004 20:20:36 -0000	1.2
--- x_qlist.c	28 Oct 2005 12:17:11 -0000	1.2.8.1
***************
*** 16,20 ****
      t_object x_ob;
      t_outlet *x_bangout;
!     void *x_binbuf;
      int x_onset;                /* playback position */
      t_clock *x_clock;
--- 16,20 ----
      t_object x_ob;
      t_outlet *x_bangout;
!     t_binbuf *x_binbuf;
      int x_onset;                /* playback position */
      t_clock *x_clock;

Index: x_gui.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_gui.c,v
retrieving revision 1.3.4.1.2.2
retrieving revision 1.3.4.1.2.3
diff -C2 -d -r1.3.4.1.2.2 -r1.3.4.1.2.3
*** x_gui.c	5 Oct 2005 06:13:01 -0000	1.3.4.1.2.2
--- x_gui.c	28 Oct 2005 12:17:11 -0000	1.3.4.1.2.3
***************
*** 60,64 ****
      /* gcc could also dynamically reserve on the stack... keep this for later */
      if(len > MAXPDSTRING)
!         buf = getbytes(len);
      else
          buf = stbuf;
--- 60,64 ----
      /* gcc could also dynamically reserve on the stack... keep this for later */
      if(len > MAXPDSTRING)
!         buf = (char *)getbytes(len);
      else
          buf = stbuf;
***************
*** 206,210 ****
  static void openpanel_bang(t_openpanel *x)
  {
!   char*path=(x->x_path&&x->x_path->s_name)?x->x_path->s_name:"\"\"";
    sys_vgui("pdtk_openpanel {%s} {%s}\n", x->x_s->s_name, path);
  }
--- 206,210 ----
  static void openpanel_bang(t_openpanel *x)
  {
!   const char*path=(x->x_path&&x->x_path->s_name)?x->x_path->s_name:"\"\"";
    sys_vgui("pdtk_openpanel {%s} {%s}\n", x->x_s->s_name, path);
  }
***************
*** 259,263 ****
  static void savepanel_bang(t_savepanel *x)
  {
!   char*path=(x->x_path&&x->x_path->s_name)?x->x_path->s_name:"\"\"";
    sys_vgui("pdtk_savepanel {%s} {%s}\n", x->x_s->s_name, path);
  }
--- 259,263 ----
  static void savepanel_bang(t_savepanel *x)
  {
!   const char*path=(x->x_path&&x->x_path->s_name)?x->x_path->s_name:"\"\"";
    sys_vgui("pdtk_savepanel {%s} {%s}\n", x->x_s->s_name, path);
  }

Index: x_list.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_list.c,v
retrieving revision 1.2.2.4
retrieving revision 1.2.2.5
diff -C2 -d -r1.2.2.4 -r1.2.2.5
*** x_list.c	4 Oct 2005 16:42:33 -0000	1.2.2.4
--- x_list.c	28 Oct 2005 12:17:11 -0000	1.2.2.5
***************
*** 182,186 ****
  } t_list_append;
  
! static void *list_append_new(t_symbol *s, int argc, t_atom *argv)
  {
      t_list_append *x = (t_list_append *)pd_new(list_append_class);
--- 182,186 ----
  } t_list_append;
  
! static t_pd *list_append_new(t_symbol *s, int argc, t_atom *argv)
  {
      t_list_append *x = (t_list_append *)pd_new(list_append_class);
***************
*** 189,193 ****
      outlet_new(&x->x_obj, &s_list);
      inlet_new(&x->x_obj, &x->x_alist.l_pd, 0, 0);
!     return (x);
  }
  
--- 189,193 ----
      outlet_new(&x->x_obj, &s_list);
      inlet_new(&x->x_obj, &x->x_alist.l_pd, 0, 0);
!     return (t_pd *)x;
  }
  
***************
*** 242,246 ****
  } t_list_prepend;
  
! static void *list_prepend_new(t_symbol *s, int argc, t_atom *argv)
  {
      t_list_prepend *x = (t_list_prepend *)pd_new(list_prepend_class);
--- 242,246 ----
  } t_list_prepend;
  
! static t_pd *list_prepend_new(t_symbol *s, int argc, t_atom *argv)
  {
      t_list_prepend *x = (t_list_prepend *)pd_new(list_prepend_class);
***************
*** 249,253 ****
      outlet_new(&x->x_obj, &s_list);
      inlet_new(&x->x_obj, &x->x_alist.l_pd, 0, 0);
!     return (x);
  }
  
--- 249,253 ----
      outlet_new(&x->x_obj, &s_list);
      inlet_new(&x->x_obj, &x->x_alist.l_pd, 0, 0);
!     return (t_pd *)x;
  }
  
***************
*** 305,309 ****
  } t_list_split;
  
! static void *list_split_new(t_floatarg f)
  {
      t_list_split *x = (t_list_split *)pd_new(list_split_class);
--- 305,309 ----
  } t_list_split;
  
! static t_pd *list_split_new(t_floatarg f)
  {
      t_list_split *x = (t_list_split *)pd_new(list_split_class);
***************
*** 313,317 ****
      floatinlet_new(&x->x_obj, &x->x_f);
      x->x_f = f;
!     return (x);
  }
  
--- 313,317 ----
      floatinlet_new(&x->x_obj, &x->x_f);
      x->x_f = f;
!     return (t_pd *)x;
  }
  
***************
*** 360,368 ****
  } t_list_trim;
  
! static void *list_trim_new( void)
  {
      t_list_trim *x = (t_list_trim *)pd_new(list_trim_class);
      outlet_new(&x->x_obj, &s_list);
!     return (x);
  }
  
--- 360,368 ----
  } t_list_trim;
  
! static t_pd *list_trim_new( void)
  {
      t_list_trim *x = (t_list_trim *)pd_new(list_trim_class);
      outlet_new(&x->x_obj, &s_list);
!     return (t_pd *)x;
  }
  





More information about the Pd-cvs mailing list