浏览代码

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 年之前
父节点
当前提交
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;