nit: Added link to `CONTRIBUTING.md` from the README
[nit.git] / c_src / csv.sep.0.h
index 449dff8..bdce2dc 100644 (file)
@@ -1,39 +1,60 @@
 #include "nit.common.h"
-extern const int COLOR_csv__CSVDocument___64dheader;
-val* csv__CSVDocument__header(val* self);
-void csv__CSVDocument__header_61d(val* self, val* p0);
-extern const int COLOR_csv__CSVDocument___64dlines;
-val* csv__CSVDocument__lines(val* self);
-void csv__CSVDocument__lines_61d(val* self, val* p0);
-extern const int COLOR_csv__CSVDocument__header;
-extern const int COLOR_abstract_collection__RemovableCollection__clear;
-extern const int COLOR_abstract_collection__Collection__iterator;
-extern const int COLOR_abstract_collection__Iterator__is_ok;
-extern const int COLOR_abstract_collection__Iterator__item;
-extern const int COLOR_string__Object__to_s;
-extern const int COLOR_abstract_collection__SimpleCollection__add;
-extern const int COLOR_abstract_collection__Iterator__next;
-void csv__CSVDocument__set_header(val* self, val* p0);
-extern const int COLOR_abstract_collection__Collection__length;
-val* string__NativeString__to_s_with_length(char* self, long p0);
-val* NEW_array__Array(const struct type* type);
-extern const struct type type_array__Arraykernel__Object;
-val* NEW_array__NativeArray(int length, const struct type* type);
-extern const struct type type_array__NativeArraykernel__Object;
-val* BOX_kernel__Int(long);
-extern const int COLOR_array__Array__with_native;
-extern const int COLOR_file__Object__print;
-extern const struct type type_array__Arraystring__String;
-extern const int COLOR_array__Array__init;
-extern const int COLOR_csv__CSVDocument__lines;
-void csv__CSVDocument__add_line(val* self, val* p0);
-extern const int COLOR_string__Collection__join;
-extern const int COLOR_string__String___43d;
-val* csv__CSVDocument__to_s(val* self);
-val* NEW_file__OFStream(const struct type* type);
-extern const struct type type_file__OFStream;
-extern const int COLOR_file__OFStream__open;
-extern const int COLOR_stream__OStream__write;
-extern const int COLOR_stream__IOS__close;
-void csv__CSVDocument__save(val* self, val* p0);
-void csv__CSVDocument__init(val* self);
+#define COLOR_csv__CsvFormat___delimiter 0
+#define COLOR_csv__CsvFormat___separator 1
+#define COLOR_csv__CsvFormat___eol 2
+extern const char FILE_csv[];
+#define COLOR_csv__CsvFormat___escaping 3
+val* NEW_core__NativeArray(int length, const struct type* type);
+extern const struct type type_core__NativeArray__core__String;
+val* core__abstract_text___Char___Object__to_s(uint32_t self);
+#define COLOR_core__abstract_text__NativeArray__native_to_s 12
+val* NEW_core__RopeBuffer(const struct type* type);
+extern const struct type type_core__RopeBuffer;
+void core___core__RopeBuffer___core__kernel__Object__init(val* self);
+void core___core__RopeBuffer___core__abstract_text__Buffer__add(val* self, uint32_t p0);
+val* csv___csv__CsvFormat___escaping(val* self);
+val* core__string_search___Text___replace(val* self, val* p0, val* p1);
+void core___core__RopeBuffer___core__abstract_text__Buffer__append(val* self, val* p0);
+#define COLOR_core__abstract_text__Text__chars 23
+#define COLOR_core__abstract_collection__Collection__iterator 21
+#define COLOR_core__abstract_collection__Iterator__is_ok 12
+#define COLOR_core__abstract_collection__Iterator__item 13
+#define COLOR_core__abstract_collection__Collection__has 23
+#define COLOR_core__abstract_collection__Iterator__next 14
+#define COLOR_core__abstract_collection__Iterator__finish 15
+#define COLOR_csv___csv__CsvFormat___core__kernel__Object__init 21
+#define COLOR_csv__CsvDocument___format 0
+#define COLOR_csv__CsvDocument___header 1
+#define COLOR_csv__CsvDocument___records 2
+#define COLOR_core__array__AbstractArrayRead___length 0
+val* core__file___Sys___stderr(val* self);
+val* core__flat___NativeString___to_s_full(char* self, long p0, long p1);
+val* core__flat___Int___core__abstract_text__Object__to_s(long self);
+void core___core__FileWriter___core__stream__Writer__write(val* self, val* p0);
+val* NEW_core__Array(const struct type* type);
+extern const struct type type_core__Array__core__String;
+void core___core__Array___core__kernel__Object__init(val* self);
+val* core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(val* self);
+#define COLOR_core__abstract_text__Object__to_s 3
+void core___core__Array___core__abstract_collection__SimpleCollection__add(val* self, val* p0);
+val* NEW_csv__CsvWriter(const struct type* type);
+extern const struct type type_csv__CsvWriter;
+void csv___csv__CsvWriter___with_format(val* self, val* p0, val* p1);
+void csv___csv__CsvWriter___write_sequence(val* self, val* p0);
+#define COLOR_csv__CsvWriter___ostream 0
+#define COLOR_csv__CsvWriter___format 1
+#define COLOR_csv__CsvWriter___always_escape 2
+#define COLOR_csv__CsvWriter__ostream_61d 14
+#define COLOR_core__kernel__Object__init 0
+#define COLOR_core__abstract_collection__Collection__is_empty 20
+void csv___csv__CsvWriter___write_cell(val* self, val* p0);
+val* core___core__Iterator___iterator(val* self);
+#define COLOR_core__abstract_text__Text__is_empty 37
+short int csv___csv__CsvFormat___is_value_clean(val* self, val* p0);
+val* csv___csv__CsvFormat___escape_cell(val* self, val* p0);
+#define COLOR_csv___csv__CsvWriter___core__kernel__Object__init 20
+val* NEW_csv__CsvFormat(const struct type* type);
+extern const struct type type_csv__CsvFormat;
+#define COLOR_csv__CsvFormat__delimiter_61d 13
+#define COLOR_csv__CsvFormat__separator_61d 14
+#define COLOR_csv__CsvFormat__eol_61d 15