model_utils: extract mclasses and mclassdefs from MProject and Mgroup
[nit.git] / c_src / file.sep.0.h
1 #include "nit.common.h"
2 extern const int COLOR_file__Object__stdout;
3 extern const int COLOR_string__Object__to_s;
4 extern const int COLOR_stream__OStream__write;
5 void file__Object__printn(val* self, val* p0);
6 val* string__NativeString__to_s_with_length(char* self, long p0);
7 void file__Object__print(val* self, val* p0);
8 extern const int COLOR_file__Object__stdin;
9 extern const int COLOR_stream__IStream__read_char;
10 char file__Object__getc(val* self);
11 extern const int COLOR_stream__IStream__read_line;
12 val* file__Object__gets(val* self);
13 extern const int COLOR_file__Object__file_getcwd;
14 val* string__NativeString__to_s(char* self);
15 val* file__Object__getcwd(val* self);
16 #include "file_nit.h"
17 char* file__Object__file_getcwd(val* self);
18 extern const int COLOR_file__FStream___path;
19 val* file__FStream__path(val* self);
20 extern const int COLOR_file__FStream___file;
21 extern const int COLOR_file__NativeFile__file_stat;
22 void* file__FStream__file_stat(val* self);
23 void file__FStream__init(val* self);
24 extern const int COLOR_stream__IStream__eof;
25 extern const int COLOR_stream__IOS__close;
26 extern const int COLOR_string__String__to_cstring;
27 void* file__NativeFile__io_open_read(void* self, char* p0);
28 val* BOX_file__NativeFile(void*);
29 extern const int COLOR_file__IFStream___end_reached;
30 extern const int COLOR_stream__BufferedIStream___buffer_pos;
31 extern const int COLOR_stream__BufferedIStream___buffer;
32 extern const int COLOR_abstract_collection__RemovableCollection__clear;
33 void file__IFStream__reopen(val* self);
34 extern const int COLOR_file__NativeFile__io_close;
35 void file__IFStream__close(val* self);
36 extern const int COLOR_string__AbstractString___items;
37 extern const int COLOR_string__Buffer___capacity;
38 extern const int COLOR_file__NativeFile__io_read;
39 extern const struct type type_kernel__Int;
40 extern const int COLOR_array__AbstractArrayRead___length;
41 void file__IFStream__fill_buffer(val* self);
42 short int file__IFStream__end_reached(val* self);
43 extern const int COLOR_file__FStream__init;
44 extern const int COLOR_stream__BufferedIStream__init;
45 extern const int COLOR_stream__BufferedIStream__prepare_buffer;
46 void file__IFStream__open(val* self, val* p0);
47 void file__IFStream__init(val* self);
48 void file__IFStream__without_file(val* self);
49 extern const int COLOR_file__OFStream___writable;
50 extern const int COLOR_abstract_collection__Collection__length;
51 extern const int COLOR_file__OFStream__write_native;
52 void file__OFStream__write(val* self, val* p0);
53 short int file__OFStream__is_writable(val* self);
54 void file__OFStream__close(val* self);
55 extern const int COLOR_file__NativeFile__io_write;
56 val* NEW_array__Array(const struct type* type);
57 extern const struct type type_array__Arraykernel__Object;
58 val* NEW_array__NativeArray(int length, const struct type* type);
59 extern const struct type type_array__NativeArraykernel__Object;
60 val* BOX_kernel__Int(long);
61 extern const int COLOR_array__Array__with_native;
62 extern const int COLOR_file__Object__printn;
63 void file__OFStream__write_native(val* self, char* p0, long p1);
64 void* file__NativeFile__io_open_write(void* self, char* p0);
65 void file__OFStream__open(val* self, val* p0);
66 void file__OFStream__init(val* self);
67 void file__OFStream__without_file(val* self);
68 extern const int COLOR_file__IFStream__init;
69 void* file__NativeFile__native_stdin(void* self);
70 void file__Stdin__init(val* self);
71 short int file__Stdin__poll_in(val* self);
72 extern const int COLOR_file__OFStream__init;
73 void* file__NativeFile__native_stdout(void* self);
74 void file__Stdout__init(val* self);
75 void* file__NativeFile__native_stderr(void* self);
76 void file__Stderr__init(val* self);
77 short int file__NativeString__file_exists(char* self);
78 short int file__String__file_exists(val* self);
79 void* file__NativeString__file_stat(char* self);
80 void* file__String__file_stat(val* self);
81 void* file__NativeString__file_lstat(char* self);
82 void* file__String__file_lstat(val* self);
83 short int file__NativeString__file_delete(char* self);
84 short int file__String__file_delete(val* self);
85 val* NEW_file__IFStream(const struct type* type);
86 extern const struct type type_file__IFStream;
87 extern const int COLOR_file__IFStream__open;
88 val* NEW_file__OFStream(const struct type* type);
89 extern const struct type type_file__OFStream;
90 extern const int COLOR_file__OFStream__open;
91 extern const int COLOR_stream__IStream__read;
92 void file__String__file_copy_to(val* self, val* p0);
93 extern const int COLOR_string__AbstractString__has_suffix;
94 extern const int COLOR_string__AbstractString__substring;
95 val* file__String__strip_extension(val* self, val* p0);
96 val* BOX_kernel__Char(char);
97 extern const int COLOR_array__AbstractArrayRead__last_index_of_from;
98 extern const int COLOR_string__AbstractString__substring_from;
99 extern const int COLOR_file__String__strip_extension;
100 val* file__String__basename(val* self, val* p0);
101 extern const int COLOR_string__AbstractString__chars;
102 extern const int COLOR_abstract_collection__SequenceRead___91d_93d;
103 extern const struct class class_kernel__Char;
104 val* file__String__dirname(val* self);
105 char* file__NativeString__file_realpath(char* self);
106 val* string__NativeString__to_s_with_copy(char* self);
107 val* file__String__realpath(val* self);
108 extern const int COLOR_string_search__String__split_with;
109 extern const struct type type_array__Arraystring__String;
110 extern const int COLOR_array__Array__init;
111 extern const int COLOR_abstract_collection__Collection__iterator;
112 extern const int COLOR_abstract_collection__Iterator__is_ok;
113 extern const int COLOR_abstract_collection__Iterator__item;
114 extern const int COLOR_kernel__Object___61d_61d;
115 extern const int COLOR_abstract_collection__Collection__is_empty;
116 extern const int COLOR_abstract_collection__SequenceRead__last;
117 extern const int COLOR_kernel__Object___33d_61d;
118 extern const int COLOR_abstract_collection__Sequence__pop;
119 extern const int COLOR_abstract_collection__Sequence__push;
120 extern const int COLOR_abstract_collection__Iterator__next;
121 extern const int COLOR_string__Collection__join;
122 val* file__String__simplify_path(val* self);
123 extern const int COLOR_array__Array__with_capacity;
124 extern const int COLOR_abstract_collection__SimpleCollection__add;
125 val* file__String__join_path(val* self, val* p0);
126 val* NEW_string__Buffer(const struct type* type);
127 extern const struct type type_string__Buffer;
128 extern const int COLOR_string__Buffer__init;
129 extern const int COLOR_abstract_collection__Sequence__append;
130 short int file__NativeString__file_mkdir(char* self);
131 void file__String__mkdir(val* self);
132 void file__NativeString__file_chdir(char* self);
133 void file__String__chdir(val* self);
134 extern const int COLOR_array__AbstractArrayRead__last_index_of;
135 val* file__String__file_extension(val* self);
136 struct nitni_instance * file___String_files___impl( struct nitni_instance * recv );
137 val* NEW_hash_collection__HashSet(const struct type* type);
138 extern const struct type type_hash_collection__HashSetstring__String;
139 extern const int COLOR_hash_collection__HashSet__init;
140 val* file__String__files(val* self);
141 void* file___NativeString_file_lstat___impl( char* recv );
142 long file__FileStat__mode(void* self);
143 long file__FileStat__atime(void* self);
144 long file__FileStat__ctime(void* self);
145 long file__FileStat__mtime(void* self);
146 long file__FileStat__size(void* self);
147 int file___FileStat_is_reg___impl( void* recv );
148 short int file__FileStat__is_reg(void* self);
149 int file___FileStat_is_dir___impl( void* recv );
150 short int file__FileStat__is_dir(void* self);
151 int file___FileStat_is_chr___impl( void* recv );
152 short int file__FileStat__is_chr(void* self);
153 int file___FileStat_is_blk___impl( void* recv );
154 short int file__FileStat__is_blk(void* self);
155 int file___FileStat_is_fifo___impl( void* recv );
156 short int file__FileStat__is_fifo(void* self);
157 int file___FileStat_is_lnk___impl( void* recv );
158 short int file__FileStat__is_lnk(void* self);
159 int file___FileStat_is_sock___impl( void* recv );
160 short int file__FileStat__is_sock(void* self);
161 long file__NativeFile__io_read(void* self, char* p0, long p1);
162 long file__NativeFile__io_write(void* self, char* p0, long p1);
163 long file__NativeFile__io_close(void* self);
164 void* file__NativeFile__file_stat(void* self);
165 val* NEW_file__Stdin(const struct type* type);
166 extern const struct type type_file__Stdin;
167 extern const int COLOR_file__Stdin__init;
168 val* file__Object__stdin(val* self);
169 val* NEW_file__Stdout(const struct type* type);
170 extern const struct type type_file__Stdout;
171 extern const int COLOR_file__Stdout__init;
172 val* file__Object__stdout(val* self);
173 val* NEW_file__Stderr(const struct type* type);
174 extern const struct type type_file__Stderr;
175 extern const int COLOR_file__Stderr__init;
176 val* file__Object__stderr(val* self);