From eac3a2a2283b9583d73901d8742f7b5e452081b7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 25 Jul 2007 01:11:53 +0000 Subject: made midi objects that have PDDP help patches use those help patches directly, rather than thru the midi-help.pd hack svn path=/trunk/; revision=8241 --- ...idual_help_patches_for_midi-0.41.0-test04.patch | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 packages/patches/use_individual_help_patches_for_midi-0.41.0-test04.patch diff --git a/packages/patches/use_individual_help_patches_for_midi-0.41.0-test04.patch b/packages/patches/use_individual_help_patches_for_midi-0.41.0-test04.patch new file mode 100644 index 00000000..2f03b828 --- /dev/null +++ b/packages/patches/use_individual_help_patches_for_midi-0.41.0-test04.patch @@ -0,0 +1,72 @@ +Index: x_midi.c +=================================================================== +RCS file: /cvsroot/pure-data/pd/src/x_midi.c,v +retrieving revision 1.2 +retrieving revision 1.2.10.1 +diff -u -w -r1.2 -r1.2.10.1 +--- x_midi.c 6 Sep 2004 20:20:36 -0000 1.2 ++++ x_midi.c 14 May 2007 18:31:31 -0000 1.2.10.1 +@@ -160,7 +160,6 @@ + notein_class = class_new(gensym("notein"), (t_newmethod)notein_new, + (t_method)notein_free, sizeof(t_notein), CLASS_NOINLET, A_DEFFLOAT, 0); + class_addlist(notein_class, notein_list); +- class_sethelpsymbol(notein_class, gensym("midi")); + notein_sym = gensym("#notein"); + } + +@@ -234,7 +233,6 @@ + (t_method)ctlin_free, sizeof(t_ctlin), + CLASS_NOINLET, A_GIMME, 0); + class_addlist(ctlin_class, ctlin_list); +- class_sethelpsymbol(ctlin_class, gensym("midi")); + ctlin_sym = gensym("#ctlin"); + } + +@@ -301,7 +299,6 @@ + (t_method)pgmin_free, sizeof(t_pgmin), + CLASS_NOINLET, A_DEFFLOAT, 0); + class_addlist(pgmin_class, pgmin_list); +- class_sethelpsymbol(pgmin_class, gensym("midi")); + pgmin_sym = gensym("#pgmin"); + } + +@@ -366,7 +363,6 @@ + bendin_class = class_new(gensym("bendin"), (t_newmethod)bendin_new, + (t_method)bendin_free, sizeof(t_bendin), CLASS_NOINLET, A_DEFFLOAT, 0); + class_addlist(bendin_class, bendin_list); +- class_sethelpsymbol(bendin_class, gensym("midi")); + bendin_sym = gensym("#bendin"); + } + +@@ -725,7 +721,6 @@ + noteout_class = class_new(gensym("noteout"), (t_newmethod)noteout_new, 0, + sizeof(t_noteout), 0, A_DEFFLOAT, 0); + class_addfloat(noteout_class, noteout_float); +- class_sethelpsymbol(noteout_class, gensym("midi")); + } + + +@@ -765,7 +760,6 @@ + ctlout_class = class_new(gensym("ctlout"), (t_newmethod)ctlout_new, 0, + sizeof(t_ctlout), 0, A_DEFFLOAT, A_DEFFLOAT, 0); + class_addfloat(ctlout_class, ctlout_float); +- class_sethelpsymbol(ctlout_class, gensym("midi")); + } + + +@@ -805,7 +799,6 @@ + pgmout_class = class_new(gensym("pgmout"), (t_newmethod)pgmout_new, 0, + sizeof(t_pgmout), 0, A_DEFFLOAT, 0); + class_addfloat(pgmout_class, pgmout_float); +- class_sethelpsymbol(pgmout_class, gensym("midi")); + } + + +@@ -842,7 +835,6 @@ + bendout_class = class_new(gensym("bendout"), (t_newmethod)bendout_new, 0, + sizeof(t_bendout), 0, A_DEFFLOAT, 0); + class_addfloat(bendout_class, bendout_float); +- class_sethelpsymbol(bendout_class, gensym("midi")); + } + + /* -------------------------- touch -------------------------- */ -- cgit v1.2.1