diff options
Diffstat (limited to 'include/qntan/Qntan.h')
| -rw-r--r-- | include/qntan/Qntan.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h index c38ccc2..8dd20bc 100644 --- a/include/qntan/Qntan.h +++ b/include/qntan/Qntan.h @@ -1154,18 +1154,18 @@ struct Qntan_CsvIStream { # define Qntan_CsvIStream_Mentor_onCsvDocEnd(A, B, C) (*A)->onCsvDocEnd(A, B, C) #endif #ifndef Qntan_CsvIStream_Mentor_onCsvRow -# define Qntan_CsvIStream_Mentor_onCsvRow(A, B, C, D) (*A)->onCsvRow(A, B, C, D) +# define Qntan_CsvIStream_Mentor_onCsvRow(A, B, C, D, E, F, G) (*A)->onCsvRow(A, B, C, D, E, F, G) #endif struct Qntan_CsvIStream_Mentor { /**/ void (*onCsvRow)( struct Qntan_CsvIStream_Mentor**, - char const**values, int*values_len, int numCols, + int64_t rowNr, char const**values, int*values_len, int numCols, void(*onDone)(int err, Qntan_Cls), Qntan_Cls ); /* Called for every CSV row. * * How an implementation could look like: - * void onCsvRow( char const*values, int*values_len, int numCols, Qntan_Cls a, onDone, arg ){ + * void onCsvRow( Ctx _, int64_t row, char const*values, int*values_len, int numCols, Qntan_Cls a, onDone, arg ){ * for( int iCol = 0 ; iCol < numCols ; ++iCol ){ * printf("col[%d]: '%.*s'\n", iCol, values_len[i], values[i]); * } |
