From 9c4fa48bb31cb833e46dcf70c68c3e39d40b9654 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 12 Nov 2009 16:04:49 +0000 Subject: added missing function from x_qlist.c svn path=/trunk/; revision=12758 --- externals/vanilla/textfile.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'externals/vanilla/textfile.c') diff --git a/externals/vanilla/textfile.c b/externals/vanilla/textfile.c index 51c8dcd1..bc76f360 100644 --- a/externals/vanilla/textfile.c +++ b/externals/vanilla/textfile.c @@ -28,6 +28,14 @@ typedef struct _qlist static t_class *textfile_class; typedef t_qlist t_textfile; +static void qlist_rewind(t_qlist *x) +{ + x->x_onset = 0; + if (x->x_clock) clock_unset(x->x_clock); + x->x_whenclockset = 0; + x->x_reentered = 1; +} + static void qlist_add(t_qlist *x, t_symbol *s, int ac, t_atom *av) { t_atom a; -- cgit v1.2.1