X-Git-Url: http://nitlanguage.org diff --git a/c_src/file.sep.0.h b/c_src/file.sep.0.h index 5082fe9..17bf735 100644 --- a/c_src/file.sep.0.h +++ b/c_src/file.sep.0.h @@ -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,6 +57,7 @@ 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__printn; void file__OFStream__write_native(val* self, char* p0, long p1); @@ -80,13 +82,23 @@ 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); @@ -121,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);