void showBufferRepeatsRec()

in src/cpp/modules/tapenade/utils/adBuffer.c [602:633]


void showBufferRepeatsRec(BufferRepeatCell *inRepeatStack, int type) {
  if (inRepeatStack->previous) {showBufferRepeatsRec(inRepeatStack->previous, type) ; printf(" ; ") ;}
  switch (type) {
  case 1:
    printf("%1i", inRepeatStack->indexi4) ;
    break ;
  case 2:
    printf("%1i", inRepeatStack->indexi8) ;
    break ;
  case 3:
    printf("%1i", inRepeatStack->indexr4) ;
    break ;
  case 4:
    printf("%1i", inRepeatStack->indexr8) ;
    break ;
  case 5:
    printf("%1i", inRepeatStack->indexc8) ;
    break ;
  case 6:
    printf("%1i", inRepeatStack->indexc16) ;
    break ;
  case 7:
    printf("%1i", inRepeatStack->indexs1) ;
    break ;
  case 8:
    printf("%1i", inRepeatStack->indexbit) ;
    break ;
  case 9:
    printf("%1i", inRepeatStack->indexptr) ;
    break ;
  }
}