[PD-cvs] pd/src m_pd.h,1.4.4.11.2.33.2.16,1.4.4.11.2.33.2.17

Mathieu Bouchard matju at users.sourceforge.net
Wed Dec 20 10:16:14 CET 2006


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

Modified Files:
      Tag: desiredata
	m_pd.h 
Log Message:
added SETSTRING


Index: m_pd.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v
retrieving revision 1.4.4.11.2.33.2.16
retrieving revision 1.4.4.11.2.33.2.17
diff -C2 -d -r1.4.4.11.2.33.2.16 -r1.4.4.11.2.33.2.17
*** m_pd.h	20 Dec 2006 06:10:07 -0000	1.4.4.11.2.33.2.16
--- m_pd.h	20 Dec 2006 09:16:12 -0000	1.4.4.11.2.33.2.17
***************
*** 325,337 ****
  #define SETSEMI(atom) ((atom)->a_type = A_SEMI, (atom)->a_w.w_index = 0)
  #define SETCOMMA(atom) ((atom)->a_type = A_COMMA, (atom)->a_w.w_index = 0)
! #define SETPOINTER(atom, gp) ((atom)->a_type = A_POINTER, \
!     (atom)->a_w.w_gpointer = (gp))
! #define SETFLOAT(atom, f) ((atom)->a_type = A_FLOAT, (atom)->a_w.w_float = (f))
! #define SETSYMBOL(atom, s) ((atom)->a_type = A_SYMBOL, \
!     (atom)->a_w.w_symbol = (s))
! #define SETDOLLAR(atom, n) ((atom)->a_type = A_DOLLAR, \
!     (atom)->a_w.w_index = (n))
! #define SETDOLLSYM(atom, s) ((atom)->a_type = A_DOLLSYM, \
!     (atom)->a_w.w_symbol= (s))
  
  EXTERN t_float atom_getfloat(t_atom *a);
--- 325,334 ----
  #define SETSEMI(atom) ((atom)->a_type = A_SEMI, (atom)->a_w.w_index = 0)
  #define SETCOMMA(atom) ((atom)->a_type = A_COMMA, (atom)->a_w.w_index = 0)
! #define SETPOINTER(atom, gp) ((atom)->a_type = A_POINTER, (atom)->a_w.w_gpointer = (gp))
! #define SETFLOAT(atom, f)    ((atom)->a_type = A_FLOAT,   (atom)->a_w.w_float = (f))
! #define SETSYMBOL(atom, s)   ((atom)->a_type = A_SYMBOL,  (atom)->a_w.w_symbol = (s))
! #define SETDOLLAR(atom, n)   ((atom)->a_type = A_DOLLAR,  (atom)->a_w.w_index = (n))
! #define SETDOLLSYM(atom, s)  ((atom)->a_type = A_DOLLSYM, (atom)->a_w.w_symbol= (s))
! #define SETSTRING(atom, s)   ((atom)->a_type = A_SYMBOL,  (atom)->a_w.w_symbol = gensym(s))
  
  EXTERN t_float atom_getfloat(t_atom *a);





More information about the Pd-cvs mailing list