New module strutil

git-svn-id: svn://svn.cc65.org/cc65/trunk@693 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-04-25 13:50:35 +00:00
parent 9cb63b679c
commit 4fdd595007
5 changed files with 134 additions and 2 deletions

View File

@@ -56,8 +56,8 @@ Collection* InitCollection (Collection* C)
{
/* Intialize the fields. */
C->Count = 0;
C->Size = 8;
C->Items = xmalloc (8 * sizeof (void*));
C->Size = 0;
C->Items = 0;
/* Return the new struct */
return C;