c_src: update with new intern methods
[nit.git] / c_src / file.sep.0.h
index 880a109..17bf735 100644 (file)
@@ -25,6 +25,7 @@ extern const int COLOR_stream__IStream__eof;
 extern const int COLOR_stream__IOS__close;
 extern const int COLOR_string__String__to_cstring;
 void* file__NativeFile__io_open_read(void* self, char* p0);
+val* BOX_file__NativeFile(void*);
 extern const int COLOR_file__IFStream___end_reached;
 extern const int COLOR_stream__BufferedIStream___buffer_pos;
 extern const int COLOR_stream__BufferedIStream___buffer;
@@ -56,8 +57,8 @@ 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;
-void CHECK_NEW_array__Array(val*);
 extern const int COLOR_file__Object__printn;
 void file__OFStream__write_native(val* self, char* p0, long p1);
 void* file__NativeFile__io_open_write(void* self, char* p0);
@@ -81,16 +82,29 @@ void* file__NativeString__file_lstat(char* self);
 void* file__String__file_lstat(val* self);
 short int file__NativeString__file_delete(char* self);
 short int file__String__file_delete(val* self);
+val* NEW_file__IFStream(const struct type* type);
+extern const struct type type_file__IFStream;
+extern const int COLOR_file__IFStream__open;
+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__IStream__read;
+void file__String__file_copy_to(val* self, val* p0);
 extern const int COLOR_string__AbstractString__has_suffix;
 extern const int COLOR_string__AbstractString__substring;
 val* file__String__strip_extension(val* self, val* p0);
+val* BOX_kernel__Char(char);
 extern const int COLOR_array__AbstractArrayRead__last_index_of_from;
 extern const int COLOR_string__AbstractString__substring_from;
 extern const int COLOR_file__String__strip_extension;
 val* file__String__basename(val* self, val* p0);
+extern const int COLOR_string__AbstractString__chars;
 extern const int COLOR_abstract_collection__SequenceRead___91d_93d;
 extern const struct class class_kernel__Char;
 val* file__String__dirname(val* self);
+char* file__NativeString__file_realpath(char* self);
+val* string__NativeString__to_s_with_copy(char* self);
+val* file__String__realpath(val* self);
 extern const int COLOR_string_search__String__split_with;
 extern const struct type type_array__Arraystring__String;
 extern const int COLOR_array__Array__init;
@@ -112,7 +126,6 @@ val* file__String__join_path(val* self, val* p0);
 val* NEW_string__Buffer(const struct type* type);
 extern const struct type type_string__Buffer;
 extern const int COLOR_string__Buffer__init;
-void CHECK_NEW_string__Buffer(val*);
 extern const int COLOR_abstract_collection__Sequence__append;
 short int file__NativeString__file_mkdir(char* self);
 void file__String__mkdir(val* self);
@@ -120,18 +133,30 @@ void file__NativeString__file_chdir(char* self);
 void file__String__chdir(val* self);
 extern const int COLOR_array__AbstractArrayRead__last_index_of;
 val* file__String__file_extension(val* self);
+struct nitni_instance * file___String_files___impl( struct nitni_instance * recv );
+val* NEW_hash_collection__HashSet(const struct type* type);
+extern const struct type type_hash_collection__HashSetstring__String;
+extern const int COLOR_hash_collection__HashSet__init;
 val* file__String__files(val* self);
+void* file___NativeString_file_lstat___impl( char* recv );
 long file__FileStat__mode(void* self);
 long file__FileStat__atime(void* self);
 long file__FileStat__ctime(void* self);
 long file__FileStat__mtime(void* self);
 long file__FileStat__size(void* self);
+int file___FileStat_is_reg___impl( void* recv );
 short int file__FileStat__is_reg(void* self);
+int file___FileStat_is_dir___impl( void* recv );
 short int file__FileStat__is_dir(void* self);
+int file___FileStat_is_chr___impl( void* recv );
 short int file__FileStat__is_chr(void* self);
+int file___FileStat_is_blk___impl( void* recv );
 short int file__FileStat__is_blk(void* self);
+int file___FileStat_is_fifo___impl( void* recv );
 short int file__FileStat__is_fifo(void* self);
+int file___FileStat_is_lnk___impl( void* recv );
 short int file__FileStat__is_lnk(void* self);
+int file___FileStat_is_sock___impl( void* recv );
 short int file__FileStat__is_sock(void* self);
 long file__NativeFile__io_read(void* self, char* p0, long p1);
 long file__NativeFile__io_write(void* self, char* p0, long p1);
@@ -140,15 +165,12 @@ void* file__NativeFile__file_stat(void* self);
 val* NEW_file__Stdin(const struct type* type);
 extern const struct type type_file__Stdin;
 extern const int COLOR_file__Stdin__init;
-void CHECK_NEW_file__Stdin(val*);
 val* file__Object__stdin(val* self);
 val* NEW_file__Stdout(const struct type* type);
 extern const struct type type_file__Stdout;
 extern const int COLOR_file__Stdout__init;
-void CHECK_NEW_file__Stdout(val*);
 val* file__Object__stdout(val* self);
 val* NEW_file__Stderr(const struct type* type);
 extern const struct type type_file__Stderr;
 extern const int COLOR_file__Stderr__init;
-void CHECK_NEW_file__Stderr(val*);
 val* file__Object__stderr(val* self);