1
0
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:
dan
2000-09-15 05:02:01 +00:00
parent 595d2b060b
commit e01ef57d4b
2 changed files with 5 additions and 37 deletions

View File

@@ -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)))