aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-03-21 10:08:19 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-03-21 10:08:19 +0000
commite88b5654362918c0e38e0db875c372260b4c4ed7 (patch)
treec32b8cfd1e8d06710f38dc84b24dc4bda9c86ea1
parentccf8bb4504c082631155d7989006f5d8f9854648 (diff)
remove sl and rl, obsolete
svn path=/trunk/externals/ggee/; revision=489
-rwxr-xr-xcontrol/receivelocal.pd18
-rwxr-xr-xcontrol/rl.c80
-rwxr-xr-xcontrol/sendlocal.pd18
-rwxr-xr-xcontrol/sl.c73
4 files changed, 0 insertions, 189 deletions
diff --git a/control/receivelocal.pd b/control/receivelocal.pd
deleted file mode 100755
index 5ada9f9..0000000
--- a/control/receivelocal.pd
+++ /dev/null
@@ -1,18 +0,0 @@
-#N canvas 245 35 596 413 10;
-#N canvas 296 238 600 380 /SUBPATCH/ 0;
-#X obj 104 220 print subpatch;
-#X obj 105 160 rl test;
-#X connect 1 0 0 0;
-#X restore 254 192 pd;
-#X obj 39 285 print local;
-#X floatatom 38 142;
-#X msg 72 138 nope dope;
-#X text 38 327 (C) 1999 Guenter Geiger;
-#X obj 41 198 sl test1;
-#X obj 39 259 rl test1;
-#X text 31 38 receive locally sent messages with receivelocal;
-#X text 31 20 send messages locally (per canvas) with sendlocal;
-#X text 30 56 aliases are "sl" and "rl";
-#X connect 2 0 5 0;
-#X connect 3 0 5 0;
-#X connect 6 0 1 0;
diff --git a/control/rl.c b/control/rl.c
deleted file mode 100755
index 7a789d5..0000000
--- a/control/rl.c
+++ /dev/null
@@ -1,80 +0,0 @@
-/* (C) Guenter Geiger <geiger@epy.co.at> */
-
-
-#include <m_pd.h>
-#include <stdio.h>
-#ifdef NT
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4305 )
-#endif
-
-
-/* -------------------- lreceive ------------------------------ */
-
-static t_class *lreceive_class;
-
-typedef struct _lreceive
-{
- t_object x_obj;
- t_symbol *x_sym;
-} t_lreceive;
-
-static void lreceive_bang(t_lreceive *x)
-{
- outlet_bang(x->x_obj.ob_outlet);
-}
-
-static void lreceive_float(t_lreceive *x, t_float f)
-{
- outlet_float(x->x_obj.ob_outlet, f);
-}
-
-static void lreceive_symbol(t_lreceive *x, t_symbol *s)
-{
- outlet_symbol(x->x_obj.ob_outlet, s);
-}
-
-static void lreceive_pointer(t_lreceive *x, t_gpointer *gp)
-{
- outlet_pointer(x->x_obj.ob_outlet, gp);
-}
-
-static void lreceive_list(t_lreceive *x, t_symbol *s, int argc, t_atom *argv)
-{
- outlet_list(x->x_obj.ob_outlet, s, argc, argv);
-}
-
-static void lreceive_anything(t_lreceive *x, t_symbol *s, int argc, t_atom *argv)
-{
- outlet_anything(x->x_obj.ob_outlet, s, argc, argv);
-}
-
-static void *lreceive_new(t_symbol *s)
-{
- t_lreceive *x = (t_lreceive *)pd_new(lreceive_class);
- char mysym[MAXPDSTRING];
-
- sprintf(mysym,"%s%p",s->s_name,canvas_getcurrent());
- x->x_sym = gensym(mysym);
- pd_bind(&x->x_obj.ob_pd, x->x_sym);
- outlet_new(&x->x_obj, 0);
- return (x);
-}
-
-static void lreceive_free(t_lreceive *x)
-{
- pd_unbind(&x->x_obj.ob_pd, x->x_sym);
-}
-
-void rl_setup(void)
-{
- lreceive_class = class_new(gensym("receivelocal"), (t_newmethod)lreceive_new,
- (t_method)lreceive_free, sizeof(t_lreceive), CLASS_NOINLET, A_SYMBOL, 0);
- class_addcreator((t_newmethod)lreceive_new, gensym("rl"), A_DEFSYM, 0);
- class_addbang(lreceive_class, lreceive_bang);
- class_addfloat(lreceive_class, (t_method)lreceive_float);
- class_addsymbol(lreceive_class, lreceive_symbol);
- class_addpointer(lreceive_class, lreceive_pointer);
- class_addlist(lreceive_class, lreceive_list);
- class_addanything(lreceive_class, lreceive_anything);
-}
diff --git a/control/sendlocal.pd b/control/sendlocal.pd
deleted file mode 100755
index 5ada9f9..0000000
--- a/control/sendlocal.pd
+++ /dev/null
@@ -1,18 +0,0 @@
-#N canvas 245 35 596 413 10;
-#N canvas 296 238 600 380 /SUBPATCH/ 0;
-#X obj 104 220 print subpatch;
-#X obj 105 160 rl test;
-#X connect 1 0 0 0;
-#X restore 254 192 pd;
-#X obj 39 285 print local;
-#X floatatom 38 142;
-#X msg 72 138 nope dope;
-#X text 38 327 (C) 1999 Guenter Geiger;
-#X obj 41 198 sl test1;
-#X obj 39 259 rl test1;
-#X text 31 38 receive locally sent messages with receivelocal;
-#X text 31 20 send messages locally (per canvas) with sendlocal;
-#X text 30 56 aliases are "sl" and "rl";
-#X connect 2 0 5 0;
-#X connect 3 0 5 0;
-#X connect 6 0 1 0;
diff --git a/control/sl.c b/control/sl.c
deleted file mode 100755
index 2c94cb5..0000000
--- a/control/sl.c
+++ /dev/null
@@ -1,73 +0,0 @@
-/* (C) Guenter Geiger <geiger@epy.co.at> */
-
-
-#include <m_pd.h>
-#include <stdio.h>
-#ifdef NT
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4305 )
-#endif
-
-
-/* -------------------- lsend ------------------------------ */
-
-static t_class *lsend_class;
-
-typedef struct _lsend
-{
- t_object x_obj;
- t_symbol *x_sym;
-} t_lsend;
-
-static void lsend_bang(t_lsend *x)
-{
- if (x->x_sym->s_thing) pd_bang(x->x_sym->s_thing);
-}
-
-static void lsend_float(t_lsend *x, t_float f)
-{
- if (x->x_sym->s_thing) pd_float(x->x_sym->s_thing, f);
-}
-
-static void lsend_symbol(t_lsend *x, t_symbol *s)
-{
- if (x->x_sym->s_thing) pd_symbol(x->x_sym->s_thing, s);
-}
-
-static void lsend_pointer(t_lsend *x, t_gpointer *gp)
-{
- if (x->x_sym->s_thing) pd_pointer(x->x_sym->s_thing, gp);
-}
-
-static void lsend_list(t_lsend *x, t_symbol *s, int argc, t_atom *argv)
-{
- if (x->x_sym->s_thing) pd_list(x->x_sym->s_thing, s, argc, argv);
-}
-
-static void lsend_anything(t_lsend *x, t_symbol *s, int argc, t_atom *argv)
-{
- if (x->x_sym->s_thing) typedmess(x->x_sym->s_thing, s, argc, argv);
-}
-
-static void *lsend_new(t_symbol *s)
-{
- t_lsend *x = (t_lsend *)pd_new(lsend_class);
- char mysym[MAXPDSTRING];
-
- sprintf(mysym,"%s%p",s->s_name,canvas_getcurrent());
- x->x_sym = gensym(mysym);
- return (x);
-}
-
-void sl_setup(void)
-{
- lsend_class = class_new(gensym("sendlocal"), (t_newmethod)lsend_new, 0,
- sizeof(t_lsend), 0, A_DEFSYM, 0);
- class_addcreator((t_newmethod)lsend_new, gensym("sl"), A_DEFSYM, 0);
- class_addbang(lsend_class, lsend_bang);
- class_addfloat(lsend_class, lsend_float);
- class_addsymbol(lsend_class, lsend_symbol);
- class_addpointer(lsend_class, lsend_pointer);
- class_addlist(lsend_class, lsend_list);
- class_addanything(lsend_class, lsend_anything);
-}