[PD-cvs] pd/src m_pd.h,1.4.4.11.2.33.2.49,1.4.4.11.2.33.2.50

Mathieu Bouchard matju at users.sourceforge.net
Sat Jul 14 23:01:38 CEST 2007


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

Modified Files:
      Tag: desiredata
	m_pd.h 
Log Message:
removing pd_anything(), which never existed anyway.


Index: m_pd.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v
retrieving revision 1.4.4.11.2.33.2.49
retrieving revision 1.4.4.11.2.33.2.50
diff -C2 -d -r1.4.4.11.2.33.2.49 -r1.4.4.11.2.33.2.50
*** m_pd.h	11 Jul 2007 19:50:18 -0000	1.4.4.11.2.33.2.49
--- m_pd.h	14 Jul 2007 21:01:36 -0000	1.4.4.11.2.33.2.50
***************
*** 178,183 ****
  /* t_appendix is made of the things that logically ought to be in t_gobj but have been put in a
     separate memory space because this allows most externals to work unmodified on both DesireData
!    and non-DesireData systems.
!    The equivalent in the Tcl side is really part of every view object.
  */
  typedef struct t_appendix {
--- 178,182 ----
  /* t_appendix is made of the things that logically ought to be in t_gobj but have been put in a
     separate memory space because this allows most externals to work unmodified on both DesireData
!    and non-DesireData systems. The equivalent in the Tcl side is really part of every view object.
  */
  typedef struct t_appendix {
***************
*** 292,305 ****
  EXTERN t_symbol *gensym2(const char *s, size_t n);
  EXTERN t_symbol *symsprintf(const char *s, ...);
! EXTERN t_gotfn getfn(t_pd *x, t_symbol *s);
  EXTERN t_gotfn zgetfn(t_pd *x, t_symbol *s);
  EXTERN void nullfn(void);
  EXTERN void pd_vmess(t_pd *x, t_symbol *s, char *fmt, ...);
! #define mess0(x, s) ((*getfn((x), (s)))((x)))
! #define mess1(x, s, a) ((*getfn((x), (s)))((x), (a)))
! #define mess2(x, s, a,b) ((*getfn((x), (s)))((x), (a),(b)))
! #define mess3(x, s, a,b,c) ((*getfn((x), (s)))((x), (a),(b),(c)))
! #define mess4(x, s, a,b,c,d) ((*getfn((x), (s)))((x), (a),(b),(c),(d)))
! #define mess5(x, s, a,b,c,d,e) ((*getfn((x), (s)))((x), (a),(b),(c),(d),(e)))
  EXTERN void obj_list(t_object *x, t_symbol *s, int argc, t_atom *argv);
  EXTERN t_pd *pd_newest(void); /* multiclient race conditions? */
--- 291,304 ----
  EXTERN t_symbol *gensym2(const char *s, size_t n);
  EXTERN t_symbol *symsprintf(const char *s, ...);
! EXTERN t_gotfn  getfn(t_pd *x, t_symbol *s);
  EXTERN t_gotfn zgetfn(t_pd *x, t_symbol *s);
  EXTERN void nullfn(void);
  EXTERN void pd_vmess(t_pd *x, t_symbol *s, char *fmt, ...);
! #define mess0(x,s)           (getfn((x),(s))((x)))
! #define mess1(x,s,a)         (getfn((x),(s))((x),(a)))
! #define mess2(x,s,a,b)       (getfn((x),(s))((x),(a),(b)))
! #define mess3(x,s,a,b,c)     (getfn((x),(s))((x),(a),(b),(c)))
! #define mess4(x,s,a,b,c,d)   (getfn((x),(s))((x),(a),(b),(c),(d)))
! #define mess5(x,s,a,b,c,d,e) (getfn((x),(s))((x),(a),(b),(c),(d),(e)))
  EXTERN void obj_list(t_object *x, t_symbol *s, int argc, t_atom *argv);
  EXTERN t_pd *pd_newest(void); /* multiclient race conditions? */
***************
*** 319,323 ****
  
  #define atom_decref(atom) (void)42
! #define SETATOM(atom,type,field,value) (atom_decref(atom), (atom)->a_type=type, (atom)->a_w.field=value)
  #define SETSEMI(atom)        SETATOM(atom,A_SEMI,   w_index,0)
  #define SETCOMMA(atom)       SETATOM(atom,A_COMMA,  w_index,0)
--- 318,323 ----
  
  #define atom_decref(atom) (void)42
! #define atom_incref(atom) (void)42
! #define SETATOM(atom,type,field,value) (atom_decref(atom), (atom)->a_type=type, (atom)->a_w.field=value, atom_incref(atom))
  #define SETSEMI(atom)        SETATOM(atom,A_SEMI,   w_index,0)
  #define SETCOMMA(atom)       SETATOM(atom,A_COMMA,  w_index,0)
***************
*** 401,405 ****
  EXTERN void pd_string(  t_pd *x, const char *s); /* makes a refcounted symbol (copying s) */
  EXTERN void pd_list(    t_pd *x, t_symbol *s, int argc, t_atom *argv);
- EXTERN void pd_anything(t_pd *x, t_symbol *s, int argc, t_atom *argv);
  
  #ifdef PD_PLUSPLUS_FACE
--- 401,404 ----





More information about the Pd-cvs mailing list