From 2b8d4aef0cc564582a06bc7bd4d4e09182af5800 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 21 Nov 2006 04:08:49 +0000 Subject: oops, put the outlets in the right place svn path=/trunk/; revision=6352 --- externals/loaders/import.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'externals/loaders/import.c') 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); } -- cgit v1.2.1