summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2007-07-27 17:29:30 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2007-07-27 17:29:30 +0000
commitdbeccd5b902a2fdd4bc59c4e59c62d025a19f4e0 (patch)
treea24e431a0441aceec75a5914c42d5fdd2e030e34
parent63c4824b46830dc4b5dde443acc4205fc0471064 (diff)
downloadlasso-dbeccd5b902a2fdd4bc59c4e59c62d025a19f4e0.tar.gz
lasso-dbeccd5b902a2fdd4bc59c4e59c62d025a19f4e0.tar.xz
lasso-dbeccd5b902a2fdd4bc59c4e59c62d025a19f4e0.zip
changed abort message when too many objects are allocated
-rw-r--r--swig/Lasso.i3
1 files changed, 1 insertions, 2 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i
index 9f817842..06cbe787 100644
--- a/swig/Lasso.i
+++ b/swig/Lasso.i
@@ -596,8 +596,7 @@ static void set_node_info(node_info *info, char *name, char *superName, swig_typ
#endif
node_info_count++;
if (node_info_count >= NODE_INFOS_SIZE) {
- fprintf(stderr, "node_infos has reached its limit. This is a know bug. \
-It should be dynamically reallocated");
+ fprintf(stderr, "Too many allocated objects. You must increase the size of node_infos array in Lasso.i.\n");
abort();
}
}