/********************************************************************
* lindner
* 3.2
* 1993/03/26 19:52:10
* /home/arcwelder/GopherSrc/CVS/gopher+/object/DAarray.c,v
* Exp
*
* Paul Lindner, University of Minnesota CIS.
*
* Copyright 1991, 1992 by the Regents of the University of Minnesota
* see the file "Copyright" in the distribution for conditions of use.
*********************************************************************
* MODULE: DAarray.c
* Dynamic Array Implementation
*********************************************************************
* Revision History:
* DAarray.c,v
* Revision 3.2 1993/03/26 19:52:10 lindner
* Fixed off by one prob in DApop
*
* Revision 3.1.1.1 1993/02/11 18:03:01 lindner
* Gopher+1.2beta release
*
* Revision 1.3 1992/12/21 21:14:57 lindner
* Fixed bug in DAcpy, initfn wasn't being copied right.
*
* Revision 1.2 1992/12/21 20:04:04 lindner
* Added DAcpy()
*
* Revision 1.1 1992/12/10 23:27:52 lindner
* gopher 1.1 release
*
*
*********************************************************************/
#include "DAarray.h"
#include "Malloc.h"
/*
* Create a new dynamic array
*
* size -- the initial number of elements
* newfn -- creates new object
* initfn -- initializes the object
* destroyfn -- performs clean up and frees objs memory
* copyfn -- copys one obj to the other, like strcpy
*/