aboutsummaryrefslogtreecommitdiff
path: root/externals/vanilla/textfile.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-12 16:04:49 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-12 16:04:49 +0000
commit9c4fa48bb31cb833e46dcf70c68c3e39d40b9654 (patch)
treeae059137e81fb9a14a6e90ad87243ea59380fb87 /externals/vanilla/textfile.c
parentaa9d9b545e29db506c2f8452ad3821398b6bb084 (diff)
added missing function from x_qlist.c
svn path=/trunk/; revision=12758
Diffstat (limited to 'externals/vanilla/textfile.c')
-rw-r--r--externals/vanilla/textfile.c8
1 files changed, 8 insertions, 0 deletions
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;