Added some comments

FossilOrigin-Name: f30fe7913a468e8b2ad80f478a8d2ec45d9cdf5aa0011fd48735ac99b4f73759
This commit is contained in:
7u83@mail.ru 2016-03-06 10:03:55 +00:00
parent d0d34deaad
commit 5e58d45233
1 changed files with 8 additions and 2 deletions

View File

@ -16,6 +16,10 @@
*/ */
/**
* @file
* @brief Implements some aciplist functions
*/
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@ -69,10 +73,12 @@ static void acip_del(void *d)
free(d); free(d);
} }
/**
* Create a cw_aciplist_t object
* @return The created aciplist or NULL if an error has occured.
*/
cw_aciplist_t cw_aciplist_create() cw_aciplist_t cw_aciplist_create()
{ {
return avltree_create(acip_cmp, acip_del); return avltree_create(acip_cmp, acip_del);
} }