Add a user index to class StrBuf

git-svn-id: svn://svn.cc65.org/cc65/trunk@1411 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-09-29 19:49:55 +00:00
parent 689202057c
commit 0e4493f075
2 changed files with 44 additions and 8 deletions

View File

@@ -1,12 +1,12 @@
/*****************************************************************************/
/* */
/* strbuf.c */
/* strbuf.c */
/* */
/* Variable sized string buffers */
/* */
/* */
/* */
/* (C) 2001 Ullrich von Bassewitz */
/* (C) 2001-2002 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
@@ -42,7 +42,7 @@
/*****************************************************************************/
/* Data */
/* Data */
/*****************************************************************************/
@@ -63,6 +63,7 @@ StrBuf* InitStrBuf (StrBuf* B)
{
B->Allocated = 0;
B->Len = 0;
B->Index = 0;
B->Buf = 0;
return B;
}