mirror of
https://github.com/Cloudef/bemenu
synced 2024-12-03 18:48:19 +01:00
Here be dragons comments.
This commit is contained in:
parent
f03e03cdd9
commit
ab54f2bc07
@ -35,6 +35,7 @@ bmItem** _bmItemListGetItems(const struct _bmItemList *list, unsigned int *outNm
|
|||||||
return list->list;
|
return list->list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** !!! Frees the old list, not items !!! */
|
||||||
int _bmItemListSetItemsNoCopy(struct _bmItemList *list, bmItem **items, unsigned int nmemb)
|
int _bmItemListSetItemsNoCopy(struct _bmItemList *list, bmItem **items, unsigned int nmemb)
|
||||||
{
|
{
|
||||||
assert(list);
|
assert(list);
|
||||||
@ -51,6 +52,7 @@ int _bmItemListSetItemsNoCopy(struct _bmItemList *list, bmItem **items, unsigned
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** !!! Frees the old items and list !!! */
|
||||||
int _bmItemListSetItems(struct _bmItemList *list, const bmItem **items, unsigned int nmemb)
|
int _bmItemListSetItems(struct _bmItemList *list, const bmItem **items, unsigned int nmemb)
|
||||||
{
|
{
|
||||||
assert(list);
|
assert(list);
|
||||||
|
Loading…
Reference in New Issue
Block a user