Merge: No duplicated mclassdefs
[nit.git] / c_src / time._ffi.h
1 /*
2 Extern implementation of Nit module time
3 */
4 #ifndef TIME_NIT_H
5 #define TIME_NIT_H
6
7 #include "time._nitni.h"
8 #line 18 "lib/standard/time.nit"
9
10 #include <time.h>
11 #include "math._ffi.h"
12 time_t time___new_TimeT___impl( );
13 time_t time___new_TimeT_from_i___impl( int i );
14 void time___TimeT_update___impl( time_t recv );
15 String time___TimeT_ctime___impl( time_t recv );
16 double time___TimeT_difftime___impl( time_t recv, time_t start );
17 int time___TimeT_to_i___impl( time_t recv );
18 struct tm * time___new_Tm_gmtime___impl( );
19 struct tm * time___new_Tm_gmtime_from_timet___impl( time_t t );
20 struct tm * time___new_Tm_localtime___impl( );
21 struct tm * time___new_Tm_localtime_from_timet___impl( time_t t );
22 time_t time___Tm_to_timet___impl( struct tm * recv );
23 int time___Tm_sec___impl( struct tm * recv );
24 int time___Tm_min___impl( struct tm * recv );
25 int time___Tm_hour___impl( struct tm * recv );
26 int time___Tm_mday___impl( struct tm * recv );
27 int time___Tm_mon___impl( struct tm * recv );
28 int time___Tm_year___impl( struct tm * recv );
29 int time___Tm_wday___impl( struct tm * recv );
30 int time___Tm_yday___impl( struct tm * recv );
31 int time___Tm_is_dst___impl( struct tm * recv );
32 String time___Tm_asctime___impl( struct tm * recv );
33 String time___Tm_strftime___impl( struct tm * recv, String format );
34 #endif