From a9ba7c19941ae6b47390a8f130a80edc4bad1df7 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 20 Sep 2018 16:15:24 +0430 Subject: fixes #5 --- text.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'text.py') diff --git a/text.py b/text.py index bfc2d54..5820473 100644 --- a/text.py +++ b/text.py @@ -85,11 +85,11 @@ int32_t read_until_delimiter(int _fd, uint8_t delimiter) { c_void_manager = """ void void_manager(void* ptr, void*** void_train, uint64_t* current_void_size, uint64_t* current_void_count) { if (*current_void_size == 0) { - *void_train = CCC(100*sizeof(void*)); - *current_void_size = 100; + *void_train = CCC(XXX*sizeof(void*)); + *current_void_size = XXX; } if (*current_void_count == *current_void_size) { - *current_void_size*=2; + *current_void_size*=YYY; *void_train = realloc(*void_train, *current_void_size*sizeof(void*)); if (*void_train == NULL) { printf("void train couldnt allocate more memory.\\n"); -- cgit v1.2.3