[PD-cvs] pd/src desire.c,1.1.2.74,1.1.2.75

Mathieu Bouchard matju at users.sourceforge.net
Mon May 8 01:45:19 CEST 2006


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

Modified Files:
      Tag: devel_0_39
	desire.c 
Log Message:
removing the t_wire attempt from chun


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.74
retrieving revision 1.1.2.75
diff -C2 -d -r1.1.2.74 -r1.1.2.75
*** desire.c	23 Apr 2006 11:54:13 -0000	1.1.2.74
--- desire.c	7 May 2006 23:45:17 -0000	1.1.2.75
***************
*** 12806,12819 ****
  }
  
- //----------
- // wire
- typedef struct { IEMGUI_FIELDS
-     int      from;
-     int      outport; 
-     int      to; 
-     int	     inport; 
- } t_wire;
- 
- 
  /*
  void wire_notice(t_gobj *x, struct _gobj *origin, int argc, t_atom *argv) {
--- 12806,12809 ----
***************
*** 12823,12865 ****
  }
  */
- static t_class *wire_class;
- static void wire_free(t_canvas *x)
- {
-     //t_gobj *y;
-     
-     if (x->gl_env)
-     {
-         freebytes(x->gl_env->ce_argv, x->gl_env->ce_argc * sizeof(t_atom));
-         freebytes(x->gl_env, sizeof(*x->gl_env));
-     }
-     
- }
- 
- static void *wire_new(t_symbol *s, int argc, t_atom *argv)
- {
-     t_wire *x = (t_wire *)iemgui_new(wire_class);
-     post ("----- wire_new -----");
-     x->from = 0;
-     x->outport = 0;
-     x->to = 0;
-     x->inport = 0; 
-     //bng_check_minmax(x);
-     //outlet_new((t_text *)x, &s_bang);
-     //bng_reload(x,0,argc,argv);
-     return x;
- }
- 
- static void g_wire_setup(void)
- {
-     t_class *c = wire_class = class_new(gensym("connect"), (t_newmethod)wire_new,
-         (t_method)iemgui_free, sizeof(t_wire),0, A_GIMME, 0);
-     iemgui_subclass(c);
-     //class_setnotice(c, wire_notice);
- }
- 
- static void canvas_wire (void) {
- 
- post ("boohoo");
- }
  
  //-----------
--- 12813,12816 ----
***************
*** 12989,12993 ****
      S(g_array) S(g_canvas) S(g_guiconnect) S(g_scalar) S(g_template)
      S(g_traversal) S(g_text) S(g_bang) S(g_toggle) S(g_radio)
!     S(g_slider) S(g_numbox) S(g_mycanvas) S(g_vumeter) S(g_dropper) S(g_wire)
  #undef S
  }
--- 12940,12944 ----
      S(g_array) S(g_canvas) S(g_guiconnect) S(g_scalar) S(g_template)
      S(g_traversal) S(g_text) S(g_bang) S(g_toggle) S(g_radio)
!     S(g_slider) S(g_numbox) S(g_mycanvas) S(g_vumeter) S(g_dropper)
  #undef S
  }





More information about the Pd-cvs mailing list