Update of /cvsroot/pure-data/externals/zexy/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17006
Modified Files:
0x260x260x7e.c 0x2e.c 0x3c0x7e.c 0x3d0x3d0x7e.c 0x3e0x7e.c
0x7c0x7c0x7e.c fifop.c glue.c length.c lifop.c lister.c
multiline~.c operating_system.c prime.c regex.c sort.c
strcmp.c symbol2list.c urn.c wrap.c zexyconf.h
Log Message:
rudimentary help-messages on receiving "help"
Index: 0x7c0x7c0x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x7c0x7c0x7e.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** 0x7c0x7c0x7e.c 5 Apr 2006 11:27:26 -0000 1.5
--- 0x7c0x7c0x7e.c 19 May 2006 14:04:32 -0000 1.6
***************
*** 244,247 ****
--- 244,252 ----
}
+ static void oror_tilde_help(t_object*x)
+ {
+ post("\n%c &&~\t\t:: logical OR operation on 2 signals", HEARTSYMBOL);
+ }
+
void setup_0x7c0x7c0x7e(void)
{
***************
*** 250,254 ****
--- 255,261 ----
class_addmethod(oror_tilde_class, (t_method)oror_tilde_dsp, gensym("dsp"), 0);
CLASS_MAINSIGNALIN(oror_tilde_class, t_oror_tilde, x_f);
+ class_addmethod (oror_tilde_class, (t_method)oror_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(oror_tilde_class, gensym("zexy/sigbinops+"));
+
scalaroror_tilde_class = class_new(gensym("||~"), 0, 0,
sizeof(t_scalaroror_tilde), 0, 0);
***************
*** 256,260 ****
--- 263,269 ----
class_addmethod(scalaroror_tilde_class, (t_method)scalaroror_tilde_dsp, gensym("dsp"),
0);
+ class_addmethod (oror_tilde_class, (t_method)oror_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(scalaroror_tilde_class, gensym("zexy/sigbinops+"));
+
zexy_register("||~");
}
Index: sort.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/sort.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** sort.c 5 Apr 2006 11:27:26 -0000 1.6
--- sort.c 19 May 2006 14:04:32 -0000 1.7
***************
*** 140,143 ****
--- 140,147 ----
}
+ static void sort_help(t_sort*x)
+ {
+ post("\n%c sort\t\t:: sort a list of numbers", HEARTSYMBOL);
+ }
void sort_setup(void)
{
***************
*** 147,150 ****
--- 151,155 ----
class_addlist (sort_class, sort_list);
class_addmethod (sort_class, (t_method)sort_dir, gensym("direction"), A_DEFFLOAT, 0);
+ class_addmethod(sort_class, (t_method)sort_help, gensym("help"), A_NULL);
class_sethelpsymbol(sort_class, gensym("zexy/sort"));
Index: 0x3c0x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x3c0x7e.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** 0x3c0x7e.c 5 Apr 2006 11:27:26 -0000 1.5
--- 0x3c0x7e.c 19 May 2006 14:04:32 -0000 1.6
***************
*** 229,232 ****
--- 229,236 ----
dsp_add(scalarlt_tilde_perf8, 4, in, &x->x_g, out, n);
}
+ static void lt_tilde_help(t_object*x)
+ {
+ post("\n%c <~\t\t:: compare 2 signals", HEARTSYMBOL);
+ }
void setup_0x3c0x7e(void)
***************
*** 236,240 ****
--- 240,246 ----
class_addmethod(lt_tilde_class, (t_method)lt_tilde_dsp, gensym("dsp"), 0);
CLASS_MAINSIGNALIN(lt_tilde_class, t_lt_tilde, x_f);
+ class_addmethod (lt_tilde_class, (t_method)lt_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(lt_tilde_class, gensym("zexy/sigbinops+"));
+
scalarlt_tilde_class = class_new(gensym("<~"), 0, 0,
sizeof(t_scalarlt_tilde), 0, 0);
***************
*** 242,245 ****
--- 248,252 ----
class_addmethod(scalarlt_tilde_class, (t_method)scalarlt_tilde_dsp, gensym("dsp"),
0);
+ class_addmethod (lt_tilde_class, (t_method)lt_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(scalarlt_tilde_class, gensym("zexy/sigbinops+"));
zexy_register("<~");
Index: 0x3e0x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x3e0x7e.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** 0x3e0x7e.c 5 Apr 2006 11:27:26 -0000 1.4
--- 0x3e0x7e.c 19 May 2006 14:04:32 -0000 1.5
***************
*** 229,232 ****
--- 229,238 ----
dsp_add(scalargt_tilde_perf8, 4, in, &x->x_g, out, n);
}
+
+ static void gt_tilde_help(t_object*x)
+ {
+ post("\n%c >~\t\t:: compare 2 signals", HEARTSYMBOL);
+ }
+
void setup_0x3e0x7e(void)
{
***************
*** 235,239 ****
--- 241,247 ----
class_addmethod(gt_tilde_class, (t_method)gt_tilde_dsp, gensym("dsp"), 0);
CLASS_MAINSIGNALIN(gt_tilde_class, t_gt_tilde, x_f);
+ class_addmethod (gt_tilde_class, (t_method)gt_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(gt_tilde_class, gensym("zexy/sigbinops+"));
+
scalargt_tilde_class = class_new(gensym(">~"), 0, 0,
sizeof(t_scalargt_tilde), 0, 0);
***************
*** 241,245 ****
--- 249,255 ----
class_addmethod(scalargt_tilde_class, (t_method)scalargt_tilde_dsp, gensym("dsp"),
0);
+ class_addmethod (gt_tilde_class, (t_method)gt_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(scalargt_tilde_class, gensym("zexy/sigbinops+"));
+
zexy_register(">~");
}
Index: regex.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/regex.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** regex.c 5 Apr 2006 11:27:26 -0000 1.5
--- regex.c 19 May 2006 14:04:32 -0000 1.6
***************
*** 234,237 ****
--- 234,241 ----
}
+ static void regex_help(t_regex*x)
+ {
+ post("\n%c regex\t\t:: test the input whether it matches a regular expression", HEARTSYMBOL);
+ }
void regex_setup(void)
***************
*** 243,246 ****
--- 247,251 ----
class_addmethod (regex_class, (t_method)regex_regex, gensym("regex"), A_GIMME, 0);
+ class_addmethod(regex_class, (t_method)regex_help, gensym("help"), A_NULL);
class_sethelpsymbol(regex_class, gensym("zexy/regex"));
zexy_register("regex");
Index: lister.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/lister.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** lister.c 5 Apr 2006 11:27:26 -0000 1.6
--- lister.c 19 May 2006 14:04:32 -0000 1.7
***************
*** 72,75 ****
--- 72,81 ----
}
+
+ static void mypdlist_help(t_mypdlist*x)
+ {
+ post("\n%c lister\t\t:: basic list storage (use pd>=0.39 for real [list] objects)", HEARTSYMBOL);
+ }
+
void lister_setup(void)
{
***************
*** 84,87 ****
--- 90,94 ----
class_addmethod (mypdlist_class, (t_method)mypdlist_secondlist, gensym("lst2"), A_GIMME, 0);
+ class_addmethod(mypdlist_class, (t_method)mypdlist_help, gensym("help"), A_NULL);
class_sethelpsymbol(mypdlist_class, gensym("zexy/lister"));
zexy_register("lister");
Index: wrap.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/wrap.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** wrap.c 5 Apr 2006 11:27:26 -0000 1.6
--- wrap.c 19 May 2006 14:04:32 -0000 1.7
***************
*** 69,72 ****
--- 69,77 ----
}
+ static void wrap_help(t_wrap*x)
+ {
+ post("\n%c wrap\t\t:: wrap a float between to boundaries", HEARTSYMBOL);
+ }
+
void wrap_setup(void) {
wrap_class = class_new(gensym("wrap"),
***************
*** 77,80 ****
--- 82,86 ----
class_addfloat (wrap_class, wrap_float);
class_addmethod(wrap_class, (t_method)wrap_set, gensym("set"), A_GIMME, 0);
+ class_addmethod(wrap_class, (t_method)wrap_help, gensym("help"), A_NULL);
class_sethelpsymbol(wrap_class, gensym("zexy/wrap"));
zexy_register("wrap");
Index: zexyconf.h
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/zexyconf.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** zexyconf.h 27 Jan 2006 13:02:05 -0000 1.1
--- zexyconf.h 19 May 2006 14:04:32 -0000 1.2
***************
*** 1,16 ****
! /* this is a zexyconf.h for windows
! * on unix-derivatives (linux, os-X,...) this file should be overwritten by configure
! * via the template zexyconf.h.in
! *
! * if you cannot use configure to re-generate this file, make sure all the defines
! * are set correctly
! */
!
/* Define if you have the <regex.h> header file. */
! #undef HAVE_REGEX_H
/* Define if you have the <alloca.h> header file. */
! #undef HAVE_ALLOCA_H
/* define if you want parallelport-support (direct access to the port address) */
--- 1,9 ----
! /* zexyconf.h. Generated by configure. */
/* Define if you have the <regex.h> header file. */
! #define HAVE_REGEX_H 1
/* Define if you have the <alloca.h> header file. */
! #define HAVE_ALLOCA_H 1
/* define if you want parallelport-support (direct access to the port address) */
***************
*** 18,25 ****
/* define if you have the <linux/ppdev.h> header file.
! * (for parport _device_ support)
! * you need Z_WANT_LPT for this to have an effect !
*/
! #undef HAVE_LINUX_PPDEV_H
--- 11,18 ----
/* define if you have the <linux/ppdev.h> header file.
! * (for parport _device_ support)
! * you need Z_WANT_LPT for this to have an effect !
*/
! #define HAVE_LINUX_PPDEV_H 1
Index: symbol2list.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/symbol2list.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** symbol2list.c 5 Apr 2006 11:27:26 -0000 1.6
--- symbol2list.c 19 May 2006 14:04:32 -0000 1.7
***************
*** 151,156 ****
static void symbol2list_free(t_symbol2list *x)
{
! ZEXY_USEVAR(x);
}
--- 151,159 ----
static void symbol2list_free(t_symbol2list *x)
+ {}
+
+ static void symbol2list_help(t_symbol2list*x)
{
! post("\n%c symbol2list\t:: split a symbol into a list of atoms", HEARTSYMBOL);
}
***************
*** 164,167 ****
--- 167,171 ----
class_addbang (symbol2list_class, symbol2list_bang);
class_addmethod (symbol2list_class, (t_method)symbol2list_delimiter, gensym(""), A_SYMBOL, 0);
+ class_addmethod(symbol2list_class, (t_method)symbol2list_help, gensym("help"), A_NULL);
class_sethelpsymbol(symbol2list_class, gensym("zexy/symbol2list"));
Index: 0x260x260x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x260x260x7e.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** 0x260x260x7e.c 5 Apr 2006 11:27:26 -0000 1.4
--- 0x260x260x7e.c 19 May 2006 14:04:32 -0000 1.5
***************
*** 268,271 ****
--- 268,276 ----
}
+ static void andand_tilde_help(t_object*x)
+ {
+ post("\n%c &&~\t\t:: logical AND operation on 2 signals", HEARTSYMBOL);
+ }
+
void setup_0x260x260x7e(void)
{
***************
*** 274,278 ****
--- 279,286 ----
class_addmethod(andand_tilde_class, (t_method)andand_tilde_dsp, gensym("dsp"), 0);
CLASS_MAINSIGNALIN(andand_tilde_class, t_andand_tilde, x_f);
+ class_addmethod (andand_tilde_class, (t_method)andand_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(andand_tilde_class, gensym("zexy/sigbinops+"));
+
+
scalarandand_tilde_class = class_new(gensym("&&~"), 0, 0,
sizeof(t_scalarandand_tilde), 0, 0);
***************
*** 280,283 ****
--- 288,292 ----
class_addmethod(scalarandand_tilde_class, (t_method)scalarandand_tilde_dsp, gensym("dsp"),
0);
+ class_addmethod (scalarandand_tilde_class, (t_method)andand_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(scalarandand_tilde_class, gensym("zexy/sigbinops+"));
Index: multiline~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/multiline~.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** multiline~.c 5 Apr 2006 11:27:26 -0000 1.4
--- multiline~.c 19 May 2006 14:04:32 -0000 1.5
***************
*** 249,252 ****
--- 249,256 ----
+ static void mline_help(t_mline*x)
+ {
+ post("\n%c multiline~\t:: ramped multiplication of multiple signals", HEARTSYMBOL);
+ }
void multiline_tilde_setup(void)
***************
*** 261,264 ****
--- 265,269 ----
class_addmethod(mline_class, (t_method)mline_stop, gensym("stop"), 0);
+ class_addmethod (mline_class, (t_method)mline_help, gensym("help"), A_NULL);
class_sethelpsymbol(mline_class, gensym("zexy/multiline~"));
zexy_register("multiline_tilde");
Index: fifop.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/fifop.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** fifop.c 5 Apr 2006 11:27:26 -0000 1.12
--- fifop.c 19 May 2006 14:04:32 -0000 1.13
***************
*** 205,208 ****
--- 205,215 ----
outlet_float(x->x_infout, (t_float)x->counter);
}
+
+ static void fifop_help(t_fifop*x)
+ {
+ post("\n%c fifop\t\t:: a First-In-First-Out queue with priorities", HEARTSYMBOL);
+ }
+
+
static void fifop_free(t_fifop *x)
{
***************
*** 258,261 ****
--- 265,269 ----
class_addlist (fifop_class, fifop_list);
class_addmethod (fifop_class, (t_method)fifop_query, gensym("info"), A_NULL);
+ class_addmethod (fifop_class, (t_method)fifop_help, gensym("help"), A_NULL);
class_sethelpsymbol(fifop_class, gensym("zexy/fifop"));
Index: lifop.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/lifop.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** lifop.c 5 Apr 2006 11:27:26 -0000 1.10
--- lifop.c 19 May 2006 14:04:32 -0000 1.11
***************
*** 232,236 ****
return (x);
}
!
void lifop_setup(void)
{
--- 232,239 ----
return (x);
}
! static void lifop_help(t_lifop*x)
! {
! post("\n%c lifop\t\t:: a Last-In-First-Out queue with priorities", HEARTSYMBOL);
! }
void lifop_setup(void)
{
***************
*** 241,244 ****
--- 244,248 ----
class_addlist (lifop_class, lifop_list);
class_addmethod (lifop_class, (t_method)lifop_query, gensym("info"), A_NULL);
+ class_addmethod (lifop_class, (t_method)lifop_help, gensym("help"), A_NULL);
class_sethelpsymbol(lifop_class, gensym("zexy/lifop"));
Index: prime.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/prime.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** prime.c 25 Jan 2006 16:27:08 -0000 1.5
--- prime.c 19 May 2006 14:04:32 -0000 1.6
***************
*** 64,67 ****
--- 64,73 ----
}
+ static void prime_help(t_prime*x)
+ {
+ post("\n%c prime\t\t:: test whether a given number is prime", HEARTSYMBOL);
+ }
+
+
void prime_setup(void) {
prime_class = class_new(gensym("prime"),
***************
*** 71,74 ****
--- 77,81 ----
class_addfloat(prime_class, prime_float);
+ class_addmethod(prime_class, (t_method)prime_help, gensym("help"), A_NULL);
zexy_register("prime");
}
Index: operating_system.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/operating_system.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** operating_system.c 5 Apr 2006 11:27:26 -0000 1.5
--- operating_system.c 19 May 2006 14:04:32 -0000 1.6
***************
*** 38,41 ****
--- 38,42 ----
static void operating_system_bang(t_operating_system *x)
{
+ /* LATER think about querying the version of the system at runtime! */
t_symbol *s=gensym("unknown");
#ifdef __linux__
***************
*** 56,59 ****
--- 57,65 ----
}
+ static void operating_system_help(t_operating_system*x)
+ {
+ post("\n%c operating_system\t:: get the current operating system", HEARTSYMBOL);
+ }
+
void operating_system_setup(void)
{
***************
*** 62,65 ****
--- 68,72 ----
class_addbang (operating_system_class, operating_system_bang);
+ class_addmethod(operating_system_class, (t_method)operating_system_help, gensym("help"), A_NULL);
class_sethelpsymbol(operating_system_class, gensym("zexy/operating_system"));
zexy_register("operating_system");
Index: strcmp.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/strcmp.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** strcmp.c 5 Apr 2006 11:27:26 -0000 1.6
--- strcmp.c 19 May 2006 14:04:32 -0000 1.7
***************
*** 153,156 ****
--- 153,162 ----
+ static void strcmp_help(t_strcmp*x)
+ {
+ post("\n%c strcmp\t\t:: compare to lists as strings", HEARTSYMBOL);
+ }
+
+
void strcmp_setup(void)
{
***************
*** 167,171 ****
class_addsymbol(strcmp_proxy_class, strcmp_proxy_symbol);
class_addlist(strcmp_proxy_class, strcmp_proxy_list);
!
class_sethelpsymbol(strcmp_class, gensym("zexy/strcmp"));
zexy_register("strcmp");
--- 173,177 ----
class_addsymbol(strcmp_proxy_class, strcmp_proxy_symbol);
class_addlist(strcmp_proxy_class, strcmp_proxy_list);
! class_addmethod(strcmp_class, (t_method)strcmp_help, gensym("help"), A_NULL);
class_sethelpsymbol(strcmp_class, gensym("zexy/strcmp"));
zexy_register("strcmp");
Index: 0x2e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x2e.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** 0x2e.c 5 Apr 2006 11:27:26 -0000 1.4
--- 0x2e.c 19 May 2006 14:04:32 -0000 1.5
***************
*** 149,152 ****
--- 149,157 ----
}
+ static void scalmul_help(t_scalmul*x)
+ {
+ post("\n%c .\t\t:: scalar multiplication (in-product)", HEARTSYMBOL);
+ }
+
void setup_0x2e(void)
{
***************
*** 155,161 ****
--- 160,169 ----
class_addlist(scalmul_class, scalmul_lst);
class_addmethod (scalmul_class, (t_method)scalmul_lst2, gensym(""), A_GIMME, 0);
+ class_addmethod(scalmul_class, (t_method)scalmul_help, gensym("help"), A_NULL);
+
scalmul_scal_class = class_new(gensym("."), 0, (t_method)scalmul_free,
sizeof(t_scalmul), 0, 0);
class_addlist(scalmul_scal_class, scalmul_lst);
+ class_addmethod(scalmul_scal_class, (t_method)scalmul_help, gensym("help"), A_NULL);
class_sethelpsymbol(scalmul_class, gensym("zexy/scalarmult"));
Index: urn.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/urn.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** urn.c 5 Apr 2006 11:27:26 -0000 1.4
--- urn.c 19 May 2006 14:04:32 -0000 1.5
***************
*** 139,142 ****
--- 139,147 ----
}
+ static void urn_help(t_urn*x)
+ {
+ post("\n%c urn\t\t:: generate randum numbers without repetition", HEARTSYMBOL);
+ }
+
void urn_setup(void)
{
***************
*** 149,152 ****
--- 154,158 ----
class_addmethod(urn_class, (t_method)urn_seed, gensym("seed"), A_DEFFLOAT, 0);
+ class_addmethod(urn_class, (t_method)urn_help, gensym("help"), A_NULL);
class_sethelpsymbol(urn_class, gensym("zexy/urn"));
Index: glue.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/glue.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** glue.c 5 Apr 2006 11:27:26 -0000 1.5
--- glue.c 19 May 2006 14:04:32 -0000 1.6
***************
*** 105,108 ****
--- 105,113 ----
}
+ static void glue_help(t_glue*x)
+ {
+ post("\n%c glue\t\t:: glue together 2 lists (like [list append])", HEARTSYMBOL);
+ }
+
void glue_setup(void)
{
***************
*** 112,115 ****
--- 117,121 ----
class_addmethod (glue_class, (t_method)glue_lst2, gensym(""), A_GIMME, 0);
class_addbang(glue_class, glue_bang);
+ class_addmethod (glue_class, (t_method)glue_help, gensym("help"), 0);
class_sethelpsymbol(glue_class, gensym("zexy/glue"));
Index: length.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/length.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** length.c 5 Apr 2006 11:27:26 -0000 1.6
--- length.c 19 May 2006 14:04:32 -0000 1.7
***************
*** 20,24 ****
static t_class *length_class;
-
typedef struct _length
{
--- 20,23 ----
Index: 0x3d0x3d0x7e.c
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/0x3d0x3d0x7e.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** 0x3d0x3d0x7e.c 5 Apr 2006 11:27:26 -0000 1.5
--- 0x3d0x3d0x7e.c 19 May 2006 14:04:32 -0000 1.6
***************
*** 228,231 ****
--- 228,235 ----
}
+ static void eq_tilde_help(t_object*x)
+ {
+ post("\n%c &&~\t\t:: test 2 signals for equality", HEARTSYMBOL);
+ }
void setup_0x3d0x3d0x7e(void)
{
***************
*** 234,238 ****
--- 238,244 ----
class_addmethod(eq_tilde_class, (t_method)eq_tilde_dsp, gensym("dsp"), 0);
CLASS_MAINSIGNALIN(eq_tilde_class, t_eq_tilde, x_f);
+ class_addmethod (eq_tilde_class, (t_method)eq_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(eq_tilde_class, gensym("zexy/sigbinops+"));
+
scalareq_tilde_class = class_new(gensym("==~"), 0, 0,
sizeof(t_scalareq_tilde), 0, 0);
***************
*** 240,244 ****
--- 246,252 ----
class_addmethod(scalareq_tilde_class, (t_method)scalareq_tilde_dsp, gensym("dsp"),
0);
+ class_addmethod (eq_tilde_class, (t_method)eq_tilde_help, gensym("help"), A_NULL);
class_sethelpsymbol(scalareq_tilde_class, gensym("zexy/sigbinops+"));
+
zexy_register("==~");
}