mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-24 08:05:45 +01:00
Removed some unused code from the treebag
This commit is contained in:
@@ -333,11 +333,7 @@ extern const WMHashTableCallbacks WMStringPointerHashCallbacks;
|
||||
* aren't in the end
|
||||
* Element indexes with large difference will cause large holes
|
||||
*/
|
||||
#if 0
|
||||
WMBag* WMCreateArrayBag(int initialSize);
|
||||
WMBag* WMCreateArrayBagWithDestructor(int initialSize,
|
||||
void (*destructor)(void*));
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Tree bags use a red-black tree for storage.
|
||||
* Item indexes may be any integer number.
|
||||
@@ -417,7 +413,6 @@ void* WMBagIteratorAtIndex(WMBag *self, int index, WMBagIterator *ptr);
|
||||
int WMBagIndexForIterator(WMBag *bag, WMBagIterator ptr);
|
||||
|
||||
|
||||
|
||||
#define WM_ITERATE_BAG(bag, var, i) \
|
||||
for (var = WMBagFirst(bag, &(i)); (i) != NULL; \
|
||||
var = WMBagNext(bag, &(i)))
|
||||
|
||||
Reference in New Issue
Block a user