mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-25 21:39:49 +08:00
More migration away from al_list
This commit is contained in:
parent
9cd279e0e9
commit
22a8e57a57
@ -70,7 +70,6 @@ typedef struct
|
||||
}
|
||||
message_t;
|
||||
|
||||
|
||||
typedef std::queue<message_t *> message_queue_t;
|
||||
|
||||
/**
|
||||
|
15
util.cpp
15
util.cpp
@ -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 ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user