aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lister.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lister.c b/src/lister.c
index 29e59fd..2bc7e27 100644
--- a/src/lister.c
+++ b/src/lister.c
@@ -71,7 +71,7 @@ static void *mypdlist_new(t_symbol *s, int argc, t_atom *argv)
void lister_setup(void)
{
mypdlist_class = class_new(gensym("lister"), (t_newmethod)mypdlist_new,
- (t_method)mypdlist_free, sizeof(t_mypdlist), 0, A_GIMME, 0);
+ (t_method)mypdlist_free, sizeof(t_mypdlist), 0, A_GIMME, 0);
/* i don't know how to get this work with name=="list" !!! */
class_addcreator((t_newmethod)mypdlist_new, gensym("l"), A_GIMME, 0);
@@ -83,3 +83,7 @@ void lister_setup(void)
class_sethelpsymbol(mypdlist_class, gensym("zexy/lister"));
zexy_register("lister");
}
+void l_setup(void)
+{
+ lister_setup();
+}