aboutsummaryrefslogtreecommitdiff
path: root/externals/vanilla
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-13 02:19:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-13 02:19:54 +0000
commit60a6ee6cf6b7c626067769e35d88f13853414d18 (patch)
tree5866a0e2dd31b6397f180bf1798d05a5f1cd066e /externals/vanilla
parent9a52b2ddf56513ef8a2b861916e46158e80414cc (diff)
fixed problems with setup functions
svn path=/trunk/; revision=14606
Diffstat (limited to 'externals/vanilla')
-rw-r--r--externals/vanilla/cputime.c2
-rw-r--r--externals/vanilla/delay.c2
-rw-r--r--externals/vanilla/line.c2
-rw-r--r--externals/vanilla/list.c2
-rw-r--r--externals/vanilla/loadbang.c2
-rw-r--r--externals/vanilla/metro.c2
-rw-r--r--externals/vanilla/namecanvas.c2
-rw-r--r--externals/vanilla/netreceive.c2
-rw-r--r--externals/vanilla/netsend.c2
-rw-r--r--externals/vanilla/pipe.c2
-rw-r--r--externals/vanilla/random.c2
-rw-r--r--externals/vanilla/realtime.c12
-rw-r--r--externals/vanilla/timer.c2
13 files changed, 13 insertions, 23 deletions
diff --git a/externals/vanilla/cputime.c b/externals/vanilla/cputime.c
index ba81b40d..c0dddc13 100644
--- a/externals/vanilla/cputime.c
+++ b/externals/vanilla/cputime.c
@@ -105,7 +105,7 @@ static void *cputime_new(void)
return (x);
}
-static void cputime_setup(void)
+void cputime_setup(void)
{
cputime_class = class_new(gensym("cputime"), (t_newmethod)cputime_new, 0,
sizeof(t_cputime), 0, 0);
diff --git a/externals/vanilla/delay.c b/externals/vanilla/delay.c
index 867aca52..07e34034 100644
--- a/externals/vanilla/delay.c
+++ b/externals/vanilla/delay.c
@@ -58,7 +58,7 @@ static void *delay_new(t_floatarg f)
return (x);
}
-static void delay_setup(void)
+void delay_setup(void)
{
delay_class = class_new(gensym("delay"), (t_newmethod)delay_new,
(t_method)delay_free, sizeof(t_delay), 0, A_DEFFLOAT, 0);
diff --git a/externals/vanilla/line.c b/externals/vanilla/line.c
index f559b67e..5591cee3 100644
--- a/externals/vanilla/line.c
+++ b/externals/vanilla/line.c
@@ -107,7 +107,7 @@ static void *line_new(t_floatarg f, t_floatarg grain)
return (x);
}
-static void line_setup(void)
+void line_setup(void)
{
line_class = class_new(gensym("line"), (t_newmethod)line_new,
(t_method)line_free, sizeof(t_line), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
diff --git a/externals/vanilla/list.c b/externals/vanilla/list.c
index 36660721..1722f1d7 100644
--- a/externals/vanilla/list.c
+++ b/externals/vanilla/list.c
@@ -531,7 +531,7 @@ static void *list_new(t_pd *dummy, t_symbol *s, int argc, t_atom *argv)
return (newest);
}
-void x_list_setup(void)
+void list_setup(void)
{
alist_setup();
list_append_setup();
diff --git a/externals/vanilla/loadbang.c b/externals/vanilla/loadbang.c
index d6392beb..d6aa2d5a 100644
--- a/externals/vanilla/loadbang.c
+++ b/externals/vanilla/loadbang.c
@@ -41,7 +41,7 @@ static void loadbang_loadbang(t_loadbang *x)
outlet_bang(x->x_obj.ob_outlet);
}
-static void loadbang_setup(void)
+void loadbang_setup(void)
{
loadbang_class = class_new(gensym("loadbang"), (t_newmethod)loadbang_new, 0,
sizeof(t_loadbang), CLASS_NOINLET, 0);
diff --git a/externals/vanilla/metro.c b/externals/vanilla/metro.c
index d33e72a6..c4a224be 100644
--- a/externals/vanilla/metro.c
+++ b/externals/vanilla/metro.c
@@ -63,7 +63,7 @@ static void *metro_new(t_floatarg f)
return (x);
}
-static void metro_setup(void)
+void metro_setup(void)
{
metro_class = class_new(gensym("metro"), (t_newmethod)metro_new,
(t_method)metro_free, sizeof(t_metro), 0, A_DEFFLOAT, 0);
diff --git a/externals/vanilla/namecanvas.c b/externals/vanilla/namecanvas.c
index a6642dae..52be8701 100644
--- a/externals/vanilla/namecanvas.c
+++ b/externals/vanilla/namecanvas.c
@@ -44,7 +44,7 @@ static void namecanvas_free(t_namecanvas *x)
if (*x->x_sym->s_name) pd_unbind(x->x_owner, x->x_sym);
}
-static void namecanvas_setup(void)
+void namecanvas_setup(void)
{
namecanvas_class = class_new(gensym("namecanvas"),
(t_newmethod)namecanvas_new, (t_method)namecanvas_free,
diff --git a/externals/vanilla/netreceive.c b/externals/vanilla/netreceive.c
index 8e332f54..7aa3180e 100644
--- a/externals/vanilla/netreceive.c
+++ b/externals/vanilla/netreceive.c
@@ -186,7 +186,7 @@ static void netreceive_free(t_netreceive *x)
}
}
-static void netreceive_setup(void)
+void netreceive_setup(void)
{
netreceive_class = class_new(gensym("netreceive"),
(t_newmethod)netreceive_new, (t_method)netreceive_free,
diff --git a/externals/vanilla/netsend.c b/externals/vanilla/netsend.c
index c3c9e90e..48cc8f60 100644
--- a/externals/vanilla/netsend.c
+++ b/externals/vanilla/netsend.c
@@ -166,7 +166,7 @@ static void netsend_free(t_netsend *x)
netsend_disconnect(x);
}
-static void netsend_setup(void)
+void netsend_setup(void)
{
netsend_class = class_new(gensym("netsend"), (t_newmethod)netsend_new,
(t_method)netsend_free,
diff --git a/externals/vanilla/pipe.c b/externals/vanilla/pipe.c
index 843fd732..78d3bba0 100644
--- a/externals/vanilla/pipe.c
+++ b/externals/vanilla/pipe.c
@@ -229,7 +229,7 @@ static void pipe_clear(t_pipe *x)
}
}
-static void pipe_setup(void)
+void pipe_setup(void)
{
pipe_class = class_new(gensym("pipe"),
(t_newmethod)pipe_new, (t_method)pipe_clear,
diff --git a/externals/vanilla/random.c b/externals/vanilla/random.c
index 67e4cf35..b4a0865d 100644
--- a/externals/vanilla/random.c
+++ b/externals/vanilla/random.c
@@ -65,7 +65,7 @@ static void random_seed(t_random *x, t_float f, t_float glob)
x->x_state = f;
}
-static void random_setup(void)
+void random_setup(void)
{
random_class = class_new(gensym("random"), (t_newmethod)random_new, 0,
sizeof(t_random), 0, A_DEFFLOAT, 0);
diff --git a/externals/vanilla/realtime.c b/externals/vanilla/realtime.c
index 3621f120..49041bc6 100644
--- a/externals/vanilla/realtime.c
+++ b/externals/vanilla/realtime.c
@@ -49,7 +49,7 @@ static void *realtime_new(void)
return (x);
}
-static void realtime_setup(void)
+void realtime_setup(void)
{
realtime_class = class_new(gensym("realtime"), (t_newmethod)realtime_new, 0,
sizeof(t_realtime), 0, 0);
@@ -57,13 +57,3 @@ static void realtime_setup(void)
class_addmethod(realtime_class, (t_method)realtime_bang2, gensym("bang2"),
0);
}
-
-void x_misc_setup(void)
-{
- random_setup();
- loadbang_setup();
- namecanvas_setup();
- serial_setup();
- cputime_setup();
- realtime_setup();
-}
diff --git a/externals/vanilla/timer.c b/externals/vanilla/timer.c
index 675dafe6..3baf3a30 100644
--- a/externals/vanilla/timer.c
+++ b/externals/vanilla/timer.c
@@ -34,7 +34,7 @@ static void *timer_new(t_floatarg f)
return (x);
}
-static void timer_setup(void)
+void timer_setup(void)
{
timer_class = class_new(gensym("timer"), (t_newmethod)timer_new, 0,
sizeof(t_timer), 0, A_DEFFLOAT, 0);