aboutsummaryrefslogtreecommitdiffhomepage
path: root/util.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-02 06:17:28 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-02 06:17:28 +1000
commit8b2059c628000023e5ba745a7fa9d9b6729314b6 (patch)
tree07ecbe536444844a642ede16f807b5769316d2fc /util.h
parent15724d079801df9183d0d86cadfbb7dec5b2821b (diff)
Add function to insert a range of new elements into the middle of an array_list
darcs-hash:20061001201728-ac50b-db2f7bccee53224f50347c8995b2f6496940243d.gz
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 13a16475..8def4a20 100644
--- a/util.h
+++ b/util.h
@@ -426,6 +426,8 @@ int al_push_func( array_list_t *l, void (*f)() );
*/
int al_push_all( array_list_t *a, array_list_t *b );
+int al_insert( array_list_t *a, int pos, int count );
+
/**
Sets the element at the specified index