Add option to read csv data from a buffer, add some unit tests for the new feature

This commit is contained in:
ado
2024-02-17 00:55:36 +01:00
parent 4bedc32b63
commit f04ede3a49
3 changed files with 250 additions and 83 deletions

View File

@@ -26,7 +26,7 @@ inline void assert_throw_on_error_not_defined() {
}
#if __unix__
inline ssize_t get_line(char** lineptr, size_t* n, FILE* stream) {
inline ssize_t get_line_file(char** lineptr, size_t* n, FILE* stream) {
return getline(lineptr, n, stream);
}
#else