diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2014-04-12 20:55:45 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2014-04-12 20:55:45 +0300 |
commit | ab54f2bc0796b963ac8181f8f31d720e9feffd98 (patch) | |
tree | 47cd705e3212852cd5faccf07ccf05b5604164dc /lib/list.c | |
parent | f03e03cdd9c267b9f3c171ba57799d876d80d819 (diff) | |
download | bemenu-ab54f2bc0796b963ac8181f8f31d720e9feffd98.tar.gz bemenu-ab54f2bc0796b963ac8181f8f31d720e9feffd98.tar.bz2 bemenu-ab54f2bc0796b963ac8181f8f31d720e9feffd98.zip |
Here be dragons comments.
Diffstat (limited to 'lib/list.c')
-rw-r--r-- | lib/list.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,6 +35,7 @@ bmItem** _bmItemListGetItems(const struct _bmItemList *list, unsigned int *outNm return list->list; } +/** !!! Frees the old list, not items !!! */ int _bmItemListSetItemsNoCopy(struct _bmItemList *list, bmItem **items, unsigned int nmemb) { assert(list); @@ -51,6 +52,7 @@ int _bmItemListSetItemsNoCopy(struct _bmItemList *list, bmItem **items, unsigned return 1; } +/** !!! Frees the old items and list !!! */ int _bmItemListSetItems(struct _bmItemList *list, const bmItem **items, unsigned int nmemb) { assert(list); |