aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-21 04:08:49 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-21 04:08:49 +0000
commit2b8d4aef0cc564582a06bc7bd4d4e09182af5800 (patch)
treee9bdf32a795c8931d04b22e8e3a45f4bd6da7cee
parent070654a1dc9e704f26f9c3da968b006e604f0ddc (diff)
oops, put the outlets in the right place
svn path=/trunk/; revision=6352
-rw-r--r--externals/loaders/import.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/externals/loaders/import.c b/externals/loaders/import.c
index daa13c65..21ecd656 100644
--- a/externals/loaders/import.c
+++ b/externals/loaders/import.c
@@ -100,8 +100,12 @@ static void *import_new(t_symbol *s, int argc, t_atom *argv)
x->loaded_libs = 0;
x->num_libs = 0;
+ x->x_data_outlet = outlet_new(&x->x_obj, &s_symbol);
+ x->x_status_outlet = outlet_new(&x->x_obj, 0);
+
import_load_arguments(x,argc,argv);
- return (x);
+
+ return (x);
}
@@ -116,8 +120,6 @@ static void import_free(t_import *x)
/* TODO: look into freeing the namelist. It probably does not need to
* happen, since this class is just copying the pointer of an existing
* namelist that is handled elsewhere. */
- x->x_data_outlet = outlet_new(&x->x_obj, &s_symbol);
- x->x_status_outlet = outlet_new(&x->x_obj, 0);
}