tools/dwarfDbg/dwarfDbgEsb.c
/*  Sets esbUsedBytes to zero. The string is not freed and
  esbAllocatedSize is unchanged.  */
Sets esbUsedBytes to zero. The string is not freed and
esbAllocatedSize is unchanged.
Sets esbUsedBytes to zero . The string is not freed and esbAllocatedSize is unchanged .
static uint8_t esbEmptyString(dwarfDbgPtr_t self, dwarfDbgEsb_t *data) {
  if (data->esbAllocatedSize == 0) {
    self->dwarfDbgEsb->initEsbString(self, data, allocSize);
  }
  data->esbUsedBytes = 0;
  data->esbString[0] = 0;
  return TCL_OK;
}
static uint8_t esbEmptyString ( dwarfDbgPtr_t self , dwarfDbgEsb_t * data ) { if ( data -> esbAllocatedSize == 0 ) { self -> dwarfDbgEsb -> initEsbString ( self , data , allocSize ) ; } data -> esbUsedBytes = 0 ; data -> esbString [ 0 ] = 0 ; return TCL_OK ; }
Sets esbUsedBytes to zero.
Sets esbUsedBytes to zero .