- Committing first working version of new AMOR settings module

This commit is contained in:
koennecke
2005-10-05 07:20:17 +00:00
parent 8f6f6f9f80
commit ca69fe5101
28 changed files with 3607 additions and 62 deletions

View File

@ -97,7 +97,17 @@
free(self->pBuffer);
free(self);
}
}
/*--------------------------------------------------------------------------*/
int DynStringClear(pDynString self)
{
assert(self);
assert(self->iMAGIC == DYNMAGIC);
self->iTextLen = 0;
memset(self->pBuffer,0,self->iBufferSize);
return 1;
}
/*-------------------------------------------------------------------------*/
int DynStringCopy(pDynString self, char *pText)
{
@ -245,3 +255,6 @@
return self->iTextLen;
}