1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Fixed some bugs, and compilation warnings.

This commit is contained in:
dan
2000-09-24 02:31:58 +00:00
parent 41ff127444
commit ccbb6e8e15
14 changed files with 46 additions and 48 deletions

View File

@@ -20,17 +20,17 @@
typedef struct W_Array {
void **items; /* the array data */
int itemCount; /* # of items in array */
int allocSize; /* allocated size of array */
void (*destructor)(void *item); /* the destructor to free elements */
void **items; /* the array data */
int itemCount; /* # of items in array */
int allocSize; /* allocated size of array */
WMFreeDataProc *destructor; /* the destructor to free elements */
} W_Array;
WMArray*
WMCreateArray(int initialSize)
{
WMCreateArrayWithDestructor(initialSize, NULL);
return WMCreateArrayWithDestructor(initialSize, NULL);
}