aboutsummaryrefslogtreecommitdiff
path: root/destroysend
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2007-10-04 16:31:59 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2007-10-04 16:31:59 +0000
commit906c8c819e6089dcdde1925e82bdb88a10c3a5b1 (patch)
treef4a8151b78227f0097e9d8539bf72121a726523b /destroysend
parentfa044426f92f90d2423cd3294d145a8168d20030 (diff)
deleted extra directories
svn path=/trunk/externals/tof/; revision=8785
Diffstat (limited to 'destroysend')
-rw-r--r--destroysend/destroysend-help.pd13
-rw-r--r--destroysend/destroysend.c50
-rwxr-xr-xdestroysend/makefile66
3 files changed, 0 insertions, 129 deletions
diff --git a/destroysend/destroysend-help.pd b/destroysend/destroysend-help.pd
deleted file mode 100644
index 8b8f45b..0000000
--- a/destroysend/destroysend-help.pd
+++ /dev/null
@@ -1,13 +0,0 @@
-#N canvas 455 76 573 366 10;
-#X obj 241 236 print DESTROYED;
-#X text 225 139 <- Create and destroy this external. It will send a
-bang to [receive test] everythime it is destroyed.;
-#X obj 241 203 receive test;
-#X obj 84 82 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X obj 84 142 destroysend test;
-#X obj 84 303 destroysend;
-#X text 170 300 <- If it is created without an argument \, you can
-set the target through the right inlet.;
-#X connect 2 0 0 0;
-#X connect 3 0 4 0;
diff --git a/destroysend/destroysend.c b/destroysend/destroysend.c
deleted file mode 100644
index fbf3466..0000000
--- a/destroysend/destroysend.c
+++ /dev/null
@@ -1,50 +0,0 @@
-// Made by tof@danslchamp.prg
-
-#include "m_pd.h"
-#include <string.h>
-#include <stdio.h>
-
-static t_class *destroysend_class;
-
-typedef struct _destroysend {
- t_object x_obj;
- t_symbol *x_sym; //from pd_send
-} t_destroysend;
-
-void destroysend_bang(t_destroysend *x)
-{
- //post("Hello world !!");
-//From pd_send
- if (x->x_sym->s_thing) pd_bang(x->x_sym->s_thing);
-//END
-}
-
-
-void *destroysend_new(t_symbol *s) //Added args from pd send
-{
- t_destroysend *x = (t_destroysend *)pd_new(destroysend_class);
-
-//From pd_send
-
- if (!*s->s_name) symbolinlet_new(&x->x_obj, &x->x_sym);
- x->x_sym = s;
-
-//END
-
- return (void *)x; //return (x);
-}
-
-
-void *destroysend_free(t_destroysend *x)
-{
- if (x->x_sym->s_thing) pd_bang(x->x_sym->s_thing);
- //post("Killing !!");
- return 0;
-}
-
-void destroysend_setup(void) {
-
- destroysend_class = class_new(gensym("destroysend"),(t_newmethod)destroysend_new,(t_method)destroysend_free,
-sizeof(t_destroysend),0, A_DEFSYM, 0);
- class_addbang(destroysend_class, destroysend_bang);
-}
diff --git a/destroysend/makefile b/destroysend/makefile
deleted file mode 100755
index 124f762..0000000
--- a/destroysend/makefile
+++ /dev/null
@@ -1,66 +0,0 @@
-current:
- echo make pd_linux, pd_win, or pd_darwin
-
-clean: ; rm -f *.pd_linux *.o
-
-
-
-
-
-# ----------------------- WINDOWS -----------------------
-
-pd_win: destroysend.dll
-
-WINPDPATH = /home/tom/pd0.4
-
-.SUFFIXES: .dll
-
-WINCFLAGS = -Wall -W -Wshadow -Wstrict-prototypes -DPD -DNT -W3 -WX -Werror -Wno-unused -mms-bitfields -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
-
-WININCLUDE = -I.. -I../include -I$(WINPDPATH)/src
-
-LDFLAGS = -shared
-
-.c.dll:
- gcc -mms-bitfields $(WINCFLAGS) $(WININCLUDE) -o $*.o -c $*.c
- gcc $(LDFLAGS) -o $*.dll $*.o $(WINPDPATH)/bin/pd.dll
- strip --strip-unneeded $*.dll
- rm -f $*.o
-
-
-# ----------------------- LINUX i386 -----------------------
-
-pd_linux: destroysend.pd_linux
-
-
-
-.SUFFIXES: .pd_linux
-
-PDPATH = /home/tom/pd/cvs/pd
-
-LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
- -Wall -W -Wshadow -Wstrict-prototypes -Werror \
- -Wno-unused -Wno-parentheses -Wno-switch
-
-LINUXINCLUDE = -I$(PDPATH)/src
-
-.c.pd_linux:
- cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
- ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
- strip --strip-unneeded $*.pd_linux
- rm $*.o
-
-# ----------------------- Mac OSX -----------------------
-
-pd_darwin: destroysend.pd_darwin
-
-.SUFFIXES: .pd_darwin
-
-DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
- -Wno-unused -Wno-parentheses -Wno-switch
-
-.c.pd_darwin:
- cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
- cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o
- rm -f $*.o
-