[PD-cvs] pd/src m_pd.h,1.4.4.11.2.33.2.68,1.4.4.11.2.33.2.69

Mathieu Bouchard matju at users.sourceforge.net
Fri Aug 3 07:47:30 CEST 2007


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

Modified Files:
      Tag: desiredata
	m_pd.h 
Log Message:
added index field in t_appendix


Index: m_pd.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v
retrieving revision 1.4.4.11.2.33.2.68
retrieving revision 1.4.4.11.2.33.2.69
diff -C2 -d -r1.4.4.11.2.33.2.68 -r1.4.4.11.2.33.2.69
*** m_pd.h	1 Aug 2007 07:57:52 -0000	1.4.4.11.2.33.2.68
--- m_pd.h	3 Aug 2007 05:47:28 -0000	1.4.4.11.2.33.2.69
***************
*** 255,259 ****
  	t_canvas *canvas; /* the holder of this object */
  /* actual observable */
! 	int nobs;           /* number of spies */
  	struct _gobj **obs; /* I spy with my little I */
  /* miscellaneous */
--- 255,259 ----
  	t_canvas *canvas; /* the holder of this object */
  /* actual observable */
! 	size_t nobs;           /* number of spies */
  	struct _gobj **obs; /* I spy with my little I */
  /* miscellaneous */
***************
*** 263,266 ****
--- 263,267 ----
  	void *visual;
  #endif
+ 	long index; /* index of an object within its canvas scope. */
  } t_appendix;
  t_appendix *appendix_new (struct _gobj *master);
***************
*** 349,354 ****
  #define ob_g te_g
  
  typedef void (*t_method)(void);
! typedef void *(*t_newmethod)( void);
  typedef void (*t_gotfn)(void *x, ...);
  
--- 350,356 ----
  #define ob_g te_g
  
+ /* don't take those three types for cash (on average). they're lying because the type system can't express what there is to be expressed. */
  typedef void (*t_method)(void);
! typedef void *(*t_newmethod)(void);
  typedef void (*t_gotfn)(void *x, ...);
  





More information about the Pd-cvs mailing list