aboutsummaryrefslogtreecommitdiff
path: root/import.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-26 06:37:34 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-26 06:37:34 +0000
commit50eb3337c67d6e8646d693324bd406d944288264 (patch)
tree92e2d2b86dbf8b599cac9c711b6fbd48a31f13c5 /import.c
parent4e446b0cf15dc912724ccc1f9294f32adbb72064 (diff)
made [classpath] function like the new [import]
svn path=/trunk/externals/hcs/; revision=6434
Diffstat (limited to 'import.c')
-rw-r--r--import.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/import.c b/import.c
index 8d41c17..0364685 100644
--- a/import.c
+++ b/import.c
@@ -28,7 +28,7 @@ struct _canvasenvironment
};
-static char *version = "$Revision: 1.1 $";
+static char *version = "$Revision: 1.2 $";
t_int import_instance_count;
@@ -98,6 +98,9 @@ static void import_output(t_import* x)
DEBUG(post("import_output"););
char buffer[MAXPDSTRING];
+/* TODO: think about using x->x_current->nl_next so that if [import] is at
+ * the end of its list, and another element gets added to the local
+ * namespace, [import] will output the new element on the next bang. */
if(x->x_current)
{
post("current string: %s", x->x_current->nl_string);