More migration away from al_list

This commit is contained in:
ridiculousfish 2011-12-26 23:29:57 -08:00
parent 9cd279e0e9
commit 22a8e57a57
3 changed files with 0 additions and 22 deletions

View File

@ -70,7 +70,6 @@ typedef struct
}
message_t;
typedef std::queue<message_t *> message_queue_t;
/**

View File

@ -582,21 +582,6 @@ int hash_ptr_cmp( void *a,
return a == b;
}
array_list_t *al_new()
{
array_list_t *res = (array_list_t *)malloc( sizeof( array_list_t ) );
if( !res )
{
oom_handler( 0 );
return 0;
}
al_init( res );
return res;
}
void al_init( array_list_t *l )
{
memset( l, 0, sizeof( array_list_t ) );

6
util.h
View File

@ -315,12 +315,6 @@ int hash_ptr_cmp( void *a,
void *b );
/**
Allocate heap memory for creating a new list and initialize
it. Equivalent to calling malloc and al_init.
*/
array_list_t *al_new();
/**
Initialize the list.
*/