docs/Writerside/topics/mempool.h.md

changeset 1652
db8299984bfe
parent 1329
343eac5ac824
child 1653
6a842bd49fea
equal deleted inserted replaced
1651:38b051dea6b1 1652:db8299984bfe
188 pool->allocator, NULL, sizeof(CSVData) 188 pool->allocator, NULL, sizeof(CSVData)
189 ); 189 );
190 for (size_t i = 1 ; i < lc ; i++) { 190 for (size_t i = 1 ; i < lc ; i++) {
191 if (lines[i].length == 0) continue; 191 if (lines[i].length == 0) continue;
192 cxstring fields[3]; 192 cxstring fields[3];
193 size_t fc = cx_strsplit(lines[i], cx_str(";"), 3, fields); 193 size_t fc = cx_strsplit(lines[i], ";", 3, fields);
194 if (fc != 3) { 194 if (fc != 3) {
195 fprintf(stderr, "Syntax error in line %zu.\n", i); 195 fprintf(stderr, "Syntax error in line %zu.\n", i);
196 cxMempoolFree(pool); 196 cxMempoolFree(pool);
197 return 1; 197 return 1;
198 } 198 }

mercurial