c_src: update Makefile to compile on MacOSX
[nit.git] / c_src / file._ffi.h
1 /*
2 Extern implementation of Nit module file
3 */
4 #ifndef FILE_NIT_H
5 #define FILE_NIT_H
6
7 #include "file._nitni.h"
8 #line 23 "lib/standard/file.nit"
9
10 #include <dirent.h>
11 #include <string.h>
12 #include <sys/types.h>
13 #include <sys/stat.h>
14 #include <unistd.h>
15 #include "math._ffi.h"
16 #include "math._ffi.h"
17 #include "time._ffi.h"
18 Set_of_String file___String_files___impl( String recv );
19 struct stat * file___NativeString_file_lstat___impl( char* recv );
20 int file___FileStat_is_reg___impl( struct stat * recv );
21 int file___FileStat_is_dir___impl( struct stat * recv );
22 int file___FileStat_is_chr___impl( struct stat * recv );
23 int file___FileStat_is_blk___impl( struct stat * recv );
24 int file___FileStat_is_fifo___impl( struct stat * recv );
25 int file___FileStat_is_lnk___impl( struct stat * recv );
26 int file___FileStat_is_sock___impl( struct stat * recv );
27 #endif