/[ascend]/trunk/base/generic/general/list.c
ViewVC logotype

Diff of /trunk/base/generic/general/list.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 708 by johnpye, Tue Jun 27 07:34:31 2006 UTC revision 709 by johnpye, Wed Jun 28 16:28:57 2006 UTC
# Line 282  struct gl_list_t *gl_create(unsigned lon Line 282  struct gl_list_t *gl_create(unsigned lon
282      NewListsUsed++;      NewListsUsed++;
283  #endif  #endif
284  #ifndef NDEBUG  #ifndef NDEBUG
285      new->data = (VOIDPTR *)asccalloc((unsigned)capacity,sizeof(VOIDPTR));      new->data = ASC_NEW_ARRAY_CLEAR(VOIDPTR,capacity);
286  #else  #else
287      new->data = (VOIDPTR *)ascmalloc((unsigned)capacity*sizeof(VOIDPTR));      new->data = (VOIDPTR *)ascmalloc((unsigned)capacity*sizeof(VOIDPTR));
288  #endif  #endif

Legend:
Removed from v.708  
changed lines
  Added in v.709

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22