Would appreciate it if someone with access could add this in.
Thanks,
Randy
--- ORIG/array.c Wed Oct 4 13:46:00 2000
+++ array.c Mon Aug 12 18:13:49 2002
@@ -372,7 +372,6 @@
return a;
}
-#if 0
/* this might be a useful function to add sometime */
Array
DXTrimItems(Array a, int nitems)
@@ -382,12 +381,11 @@
/* reset the item count only if smaller,
* and release any extra space in either case.
*/
- if (a->items > a->nitems)
- a->items = a->nitems;
+ if (a->items > nitems)
+ a->items = nitems;
return DXTrim(a);
}
-#endif
Pointer
DXGetArrayData(Array a)