X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-delimited-text.h;h=c24ce10c9375d2f1c5d07efeff68eb996928a49e;hb=453a25eb0d3ef50989735fc68ae3f17e5b318c8c;hp=b5c919f4fbc16872e91cb05b007e5be6fc2700be;hpb=4f3cf328723cf70c06702904e85768d6601918a2;p=pspp diff --git a/src/ui/gui/psppire-delimited-text.h b/src/ui/gui/psppire-delimited-text.h index b5c919f4fb..c24ce10c93 100644 --- a/src/ui/gui/psppire-delimited-text.h +++ b/src/ui/gui/psppire-delimited-text.h @@ -18,6 +18,7 @@ #define __PSPPIRE_DELIMITED_TEXT_H__ #include "libpspp/str.h" +#include "libpspp/string-array.h" #include #include @@ -59,7 +60,7 @@ struct _PsppireDelimitedText gint first_line; GSList *delimiters; - gint max_delimiters; + gint max_fields; gunichar quote; @@ -68,9 +69,9 @@ struct _PsppireDelimitedText gint stamp; /* caching */ - const char *cache_starts[512]; - struct substring const_cache; int cache_row; + struct string_array cache; + struct data_parser *parser; }; struct _PsppireDelimitedTextClass