aboutsummaryrefslogtreecommitdiffhomepage
path: root/util.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-04 23:43:26 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-04 23:43:26 +1000
commitefea4a6586d1b7406beea95ddfc7894cf0e13e72 (patch)
tree0d7f05366ca5e14c9fc74da5b27efc3c63d017a7 /util.h
parent9bcbc8f776ea637e411f3aeb122df01a4192c984 (diff)
Add shortcut function for creating an array_list_t on the heap
darcs-hash:20051004134326-ac50b-91d5006f218f2f9370d239b38d8e88eddc7c0b96.gz
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/util.h b/util.h
index ef14fb4f..3efe4725 100644
--- a/util.h
+++ b/util.h
@@ -303,6 +303,11 @@ int pq_get_count( priority_queue_t *q );
*/
void pq_destroy( priority_queue_t *q );
+/**
+ Allocate heap memory for creating a new list and initialize it
+*/
+array_list_t *al_new()
+
/** Initialize the list. */
void al_init( array_list_t *l );
/** Destroy the list and free memory used by it.*/