mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
Add shortcut function for creating an array_list_t on the heap
darcs-hash:20051004134326-ac50b-91d5006f218f2f9370d239b38d8e88eddc7c0b96.gz
This commit is contained in:
5
util.h
5
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.*/
|
||||
|
||||
Reference in New Issue
Block a user