NOTICE: Update
[nit.git] / c_src / core__file.sep.0.h
1 #include "nit.common.h"
2 #define COLOR_core__file__FileStream___path 1
3 #define COLOR_core__file__FileStream___file 2
4 extern const char FILE_core__file[];
5 int kernel___Pointer_address_is_null___impl( void* self );
6 #define COLOR_core__stream__Stream___last_error 0
7 #define COLOR_core__kernel__Object___61d_61d 4
8 val* NEW_core__IOError(const struct type* type);
9 extern const struct type type_core__IOError;
10 val* core__flat___NativeString___to_s_full(char* self, long p0, long p1);
11 #define COLOR_core__error__Error__message_61d 12
12 #define COLOR_core__kernel__Object__init 0
13 long file___NativeFile_io_close___impl( void* self );
14 val* NEW_core__NativeArray(int length, const struct type* type);
15 extern const struct type type_core__NativeArray__core__String;
16 long kernel___Sys_errno___impl( struct nitni_instance * self );
17 val* core__abstract_text___Int___strerror(long self);
18 #define COLOR_core__abstract_text__NativeArray__native_to_s 12
19 extern const struct type type_core__Int;
20 extern const char FILE_core__kernel[];
21 long file___NativeFile_set_buffering_type___impl( void* self, long buf_length, long mode );
22 #define COLOR_core___core__FileReader___core__stream__Stream__close 32
23 void core___core__BufferedReader___buffer_reset(val* self);
24 #define COLOR_core__file__FileReader___end_reached 8
25 #define COLOR_core__stream__BufferedReader___buffer 3
26 #define COLOR_core__stream__BufferedReader___buffer_capacity 7
27 long file___NativeFile_io_read___impl( void* self, char* buf, long len );
28 int file___NativeFile_ferror___impl( void* self );
29 #define COLOR_core__stream__BufferedReader___buffer_length 6
30 #define COLOR_core__stream__BufferedReader___buffer_pos 4
31 void core___core__BufferedReader___prepare_buffer(val* self, long p0);
32 val* NEW_core__file__NativeFile(const struct type* type);
33 extern const struct type type_core__file__NativeFile;
34 #define COLOR_core__abstract_text__Text__to_cstring 21
35 val* core__file___core__file__NativeFile___io_open_read(val* self, char* p0);
36 #define COLOR_core__file__FileWriter___is_writable 3
37 #define COLOR_core__bytes__Bytes___items 2
38 #define COLOR_core__bytes__Bytes___length 3
39 void core___core__FileWriter___write_native(val* self, char* p0, long p1, long p2);
40 #define COLOR_core__file__Text__write_native_to 50
41 #define COLOR_core___core__FileWriter___core__stream__Stream__close 23
42 long file___NativeFile_io_write___impl( void* self, char* buf, long from, long len );
43 val* core__flat___Int___core__abstract_text__Object__to_s(long self);
44 val* core__file___core__file__NativeFile___io_open_write(val* self, char* p0);
45 #define COLOR_core___core__Stdin___core__kernel__Object__init 33
46 val* core__file___core__file__NativeFile___native_stdin(val* self);
47 #define COLOR_core___core__Stdout___core__kernel__Object__init 24
48 val* core__file___core__file__NativeFile___native_stdout(val* self);
49 long file___Sys_buffer_mode_line___impl( struct nitni_instance * self );
50 void core___core__FileStream___set_buffering_mode(val* self, long p0, long p1);
51 #define COLOR_core___core__Stderr___core__kernel__Object__init 24
52 val* core__file___core__file__NativeFile___native_stderr(val* self);
53 val* NEW_core__FileWriter(const struct type* type);
54 extern const struct type type_core__FileWriter;
55 void core___core__FileWriter___open(val* self, val* p0);
56 #define COLOR_core__stream__Writable__write_to 28
57 void core___core__FileWriter___core__stream__Stream__close(val* self);
58 #define COLOR_core__file__Path___path 0
59 #define COLOR_core__file__Path___simplified 3
60 val* core__file___String___simplify_path(val* self);
61 val* core__file___Text___to_path(val* self);
62 void core___core__Path___simplified_61d(val* self, val* p0);
63 #define COLOR_core__file__Path___last_error 7
64 val* core___core__Path___open_ro(val* self);
65 val* core___core__Path___open_wo(val* self);
66 short int core___core__BufferedReader___Reader__eof(val* self);
67 val* core___core__Reader___read(val* self, long p0);
68 void core___core__FileWriter___core__stream__Writer__write(val* self, val* p0);
69 void core___core__FileReader___core__stream__Stream__close(val* self);
70 val* NEW_core__FileReader(const struct type* type);
71 extern const struct type type_core__FileReader;
72 void core___core__FileReader___open(val* self, val* p0);
73 extern const struct type type_core__Path;
74 val* core___core__Path___simplified(val* self);
75 #define COLOR_core__kernel__Object__hash 11
76 #define COLOR_core___core__Path___core__kernel__Object__init 20
77 #define COLOR_core__file__FileStat___stat 0
78 #define COLOR_core__file__FileStat___finalized 1
79 void kernel___Pointer_free___impl( void* self );
80 int file___NativeFileStat_is_dir___impl( void* self );
81 #define COLOR_core___core__FileStat___core__kernel__Object__init 18
82 val* NEW_core__Path(const struct type* type);
83 #define COLOR_core__abstract_text__Object__to_s 3
84 #define COLOR_core__file__Path__path_61d 16
85 #define COLOR_core__abstract_text__Text__substrings 36
86 #define COLOR_core__abstract_collection__Iterator__iterator 16
87 #define COLOR_core__abstract_collection__Iterator__is_ok 12
88 #define COLOR_core__abstract_collection__Iterator__item 13
89 #define COLOR_core__abstract_text__FlatText___bytelen 7
90 #define COLOR_core__abstract_collection__Iterator__next 14
91 #define COLOR_core__abstract_collection__Iterator__finish 15
92 int file___NativeString_file_exists___impl( char* self );
93 val* BOX_core__Pointer(void*);
94 extern const struct type type_core__file__NativeFileStat;
95 extern const struct class class_core__file__NativeFileStat;
96 void* file___NativeString_file_stat___impl( char* self );
97 val* NEW_core__FileStat(const struct type* type);
98 extern const struct type type_core__FileStat;
99 #define COLOR_core__file__FileStat__stat_61d 14
100 void core___core__Path___copy(val* self, val* p0);
101 #define COLOR_core__file__String__file_extension 82
102 short int core___core__Text___has_suffix(val* self, val* p0);
103 #define COLOR_core__abstract_text__Text__length 22
104 #define COLOR_core__abstract_text__Text__substring 24
105 #define COLOR_core__abstract_text__Text__chars 23
106 #define COLOR_core__abstract_collection__SequenceRead___91d_93d 29
107 #define COLOR_core__abstract_collection__SequenceRead__last_index_of_from 35
108 val* core__file___String___strip_extension(val* self, val* p0);
109 char* file___NativeString_file_realpath___impl( char* self );
110 short int core__file___String___file_exists(val* self);
111 val* core__flat___NativeString___to_s_with_copy(char* self);
112 val* core__string_search___Text___split_with(val* self, val* p0);
113 val* NEW_core__Array(const struct type* type);
114 extern const struct type type_core__Array__core__String;
115 void core___core__Array___core__kernel__Object__init(val* self);
116 val* core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(val* self);
117 short int core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(val* self);
118 val* core___core__SequenceRead___last(val* self);
119 val* core___core__AbstractArray___core__abstract_collection__Sequence__pop(val* self);
120 void core___core__AbstractArray___core__abstract_collection__Sequence__push(val* self, val* p0);
121 #define COLOR_core__array__AbstractArrayRead___length 0
122 val* core___core__SequenceRead___Collection__first(val* self);
123 val* core__abstract_text___Collection___join(val* self, val* p0);
124 #define COLOR_core__abstract_text__Text__is_empty 37
125 uint32_t core___core__Text___last(val* self);
126 val* core__file___String___join_path(val* self, val* p0);
127 val* core__file___Sys___getcwd(val* self);
128 val* core__file___String____47d(val* self, val* p0);
129 val* core__string_search___Text___split(val* self, val* p0);
130 val* core___core__AbstractArray___core__abstract_collection__Sequence__shift(val* self);
131 #define COLOR_core__abstract_text__String___42d 81
132 #define COLOR_core__abstract_text__String___43d 76
133 val* NEW_core__FlatBuffer(const struct type* type);
134 extern const struct type type_core__FlatBuffer;
135 #define COLOR_core___core__FlatBuffer___core__kernel__Object__init 102
136 val* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0);
137 void core___core__FlatBuffer___core__abstract_text__Buffer__add(val* self, uint32_t p0);
138 void core___core__FlatBuffer___core__abstract_text__Buffer__append(val* self, val* p0);
139 val* core___core__FlatBuffer___core__abstract_text__Object__to_s(val* self);
140 int file___NativeString_file_mkdir___impl( char* self );
141 #define COLOR_core__abstract_collection__SequenceRead__last_index_of 32
142 val* NEW_core__file__NativeDir(const struct type* type);
143 extern const struct type type_core__file__NativeDir;
144 val* core__file___core__file__NativeDir___opendir(val* self, char* p0);
145 char* file___NativeDir_readdir___impl( void* self );
146 short int core___core__FlatString___core__kernel__Object___61d_61d(val* self, val* p0);
147 void core___core__Array___core__abstract_collection__SimpleCollection__add(val* self, val* p0);
148 void file___NativeDir_closedir___impl( void* self );
149 #define COLOR_core__abstract_text__FlatText___items 5
150 #define COLOR_core__flat__FlatString___first_byte 1
151 long core__flat___FlatText___last_byte(val* self);
152 unsigned char core___core__Char___ascii(uint32_t self);
153 val* NEW_core__FlatString(const struct type* type);
154 extern const struct type type_core__FlatString;
155 void core___core__FlatString___with_infos(val* self, char* p0, long p1, long p2);
156 extern const struct class class_core__file__NativeFile;
157 void* file___new_NativeFile_io_open_read___impl( char* path );
158 void* file___new_NativeFile_io_open_write___impl( char* path );
159 void* file___new_NativeFile_native_stdin___impl( );
160 void* file___new_NativeFile_native_stdout___impl( );
161 void* file___new_NativeFile_native_stderr___impl( );
162 extern const struct class class_core__file__NativeDir;
163 void* file___new_NativeDir_opendir___impl( char* path );
164 #define COLOR_core__file__Sys___stdout 3
165 val* NEW_core__Stdout(const struct type* type);
166 extern const struct type type_core__Stdout;
167 void core___core__Stdout___core__kernel__Object__init(val* self);
168 #define COLOR_core__file__Sys___stderr 5
169 val* NEW_core__Stderr(const struct type* type);
170 extern const struct type type_core__Stderr;
171 void core___core__Stderr___core__kernel__Object__init(val* self);
172 val* core__file___Sys___stdout(val* self);
173 val* core__flat___Array___core__abstract_text__Collection__plain_to_s(val* self);
174 char* file___Sys_native_getcwd___impl( struct nitni_instance * self );
175 val* core__flat___NativeString___core__abstract_text__Object__to_s(char* self);