- Removed napi from SICS
- Added error fields to hwardware objects: motor, counter, histmem - Optimised sinqhttpopt - Added haddcheck which adds checks to hipadaba nodes. The current implementation only checks for selctions agaisnt the values property. Expand when more checks are required. SKIPPED: psi/polterwrite.c psi/sinqhttpopt.c psi/tasinit.c
This commit is contained in:
10
dynstring.c
10
dynstring.c
@ -83,7 +83,15 @@ static int Resize(pDynString self, int iRequested)
|
||||
self->iBufferSize = iNewSize;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
int DynStringCapacity(pDynString self, int length)
|
||||
{
|
||||
if(self->iBufferSize < length){
|
||||
return Resize(self,length);
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
/*--------------------------------------------------------------------------*/
|
||||
void DeleteDynString(pDynString self)
|
||||
{
|
||||
|
Reference in New Issue
Block a user