[PD-cvs] pd/src desire.h,1.1.2.49.2.18,1.1.2.49.2.19

Mathieu Bouchard matju at users.sourceforge.net
Sun Dec 31 08:26:35 CET 2006


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

Modified Files:
      Tag: desiredata
	desire.h 
Log Message:
removed t_string reference and added some decls needed to make kernel.c compile as C++


Index: desire.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.h,v
retrieving revision 1.1.2.49.2.18
retrieving revision 1.1.2.49.2.19
diff -C2 -d -r1.1.2.49.2.18 -r1.1.2.49.2.19
*** desire.h	27 Dec 2006 23:30:34 -0000	1.1.2.49.2.18
--- desire.h	31 Dec 2006 07:26:33 -0000	1.1.2.49.2.19
***************
*** 63,67 ****
  typedef void (*t_floatmethod)  (t_pd *x, t_float f);
  typedef void (*t_symbolmethod) (t_pd *x, t_symbol *s);
! typedef void (*t_stringmethod) (t_pd *x, t_string *s);
  typedef void (*t_listmethod)   (t_pd *x, t_symbol *s, int argc, t_atom *argv);
  typedef void (*t_anymethod)    (t_pd *x, t_symbol *s, int argc, t_atom *argv);
--- 63,67 ----
  typedef void (*t_floatmethod)  (t_pd *x, t_float f);
  typedef void (*t_symbolmethod) (t_pd *x, t_symbol *s);
! typedef void (*t_stringmethod) (t_pd *x, const char *s);
  typedef void (*t_listmethod)   (t_pd *x, t_symbol *s, int argc, t_atom *argv);
  typedef void (*t_anymethod)    (t_pd *x, t_symbol *s, int argc, t_atom *argv);
***************
*** 81,85 ****
      t_pointermethod pointermethod;
      t_floatmethod   floatmethod;
!     t_symbolmethod  symbolmethod; /* or t_stringmethod, but C doesn't have anonymous unions */
      t_listmethod    listmethod;
      t_anymethod     anymethod;
--- 81,85 ----
      t_pointermethod pointermethod;
      t_floatmethod   floatmethod;
!     t_symbolmethod  symbolmethod; /* or t_stringmethod, but only C++ has anonymous unions, so... */
      t_listmethod    listmethod;
      t_anymethod     anymethod;
***************
*** 103,106 ****
--- 103,109 ----
  //#define c_name name /* for Cyclone,Creb,Pidip */
  //#define c_size size /* for Cyclone,Flext */
+ //#define me_name name /* for Cyclone */
+ //#define me_fun fun /* for Cyclone */
+ //#define me_arg arg /* for Cyclone */
  
  /* m_obj.c */
***************
*** 308,311 ****
--- 311,324 ----
  EXTERN t_hash *object_table;
  
+ /* some kernel.c stuff that wasn't in any header, when shifting to C++. */
+ void obj_moveinletfirst(t_object *x, t_inlet *i);
+ void obj_moveoutletfirst(t_object *x, t_outlet *o);
+ int inlet_getsignalindex(t_inlet *x);
+ int outlet_getsignalindex(t_outlet *x);
+ void text_save(t_gobj *z, t_binbuf *b);
+ t_sample *obj_findsignalscalar(t_object *x, int m);
+ void class_set_extern_dir(t_symbol *s);
+ void glob_update_class_info (t_pd *bogus, t_symbol *s, t_symbol *cb_recv, t_symbol *cb_sel);
+ 
  #if defined(_LANGUAGE_C_PLUS_PLUS) || defined(__cplusplus)
  }





More information about the Pd-cvs mailing list