diff options
author | axel <axel@liljencrantz.se> | 2005-10-04 23:43:26 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-04 23:43:26 +1000 |
commit | efea4a6586d1b7406beea95ddfc7894cf0e13e72 (patch) | |
tree | 0d7f05366ca5e14c9fc74da5b27efc3c63d017a7 /util.h | |
parent | 9bcbc8f776ea637e411f3aeb122df01a4192c984 (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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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.*/ |