From e83529ae7533c15c2a604fe6075a34d124d4316e Mon Sep 17 00:00:00 2001 From: jvech Date: Tue, 23 Jul 2024 22:47:14 -0500 Subject: add: csv_read() improved Error messages are more specific and now columns are read as arrays of strings. --- src/parse.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/parse.h') diff --git a/src/parse.h b/src/parse.h index e50f6bd..05cafa2 100644 --- a/src/parse.h +++ b/src/parse.h @@ -20,9 +20,10 @@ void json_read( void csv_read( FILE *fp, Array *input, Array *out, - size_t in_cols[], size_t in_cols_size, - size_t out_cols[], size_t out_cols_size, + char *in_cols[], size_t in_cols_size, + char *out_cols[], size_t out_cols_size, bool read_output, + bool has_header, char separator ); #endif -- cgit v1.2.3-70-g09d2