Просмотр исходного кода

core: pv - default number of buffer slots set to 40

- it was 10
- allow handling more chained evaluations in large strings
Daniel-Constantin Mierla 7 лет назад
Родитель
Сommit
c087b1d1dd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/pvapi.c

+ 1 - 1
src/core/pvapi.c

@@ -2025,7 +2025,7 @@ static char **_pv_print_buffer = NULL;
 static int _pv_print_buffer_size  = PV_DEFAULT_PRINT_BUFFER_SIZE;
 static int _pv_print_buffer_size_active  = 0;
 /* 6 mod params + 4 direct usage from mods */
-#define PV_DEFAULT_PRINT_BUFFER_SLOTS 10
+#define PV_DEFAULT_PRINT_BUFFER_SLOTS 40
 static int _pv_print_buffer_slots = PV_DEFAULT_PRINT_BUFFER_SLOTS;
 static int _pv_print_buffer_slots_active = 0;
 static int _pv_print_buffer_index = 0;