Merge remote branch 'alexis/wip'
[nit.git] / c_src / time._nitni.h
1 #include <nit_common.h>
2 #include "standard___time._sep.h"
3 #ifndef TIME_NITNI_H
4 #define TIME_NITNI_H
5
6 #ifndef OBJECT_TYPE
7 #define OBJECT_TYPE
8 struct s_Object{
9 struct nitni_ref ref; /* real ref struct, must be first */
10 };
11 typedef struct s_Object *Object;
12 #define Object_incr_ref( x ) nitni_global_ref_incr( (struct nitni_ref*)(x) )
13 #define Object_decr_ref( x ) nitni_global_ref_decr( (struct nitni_ref*)(x) )
14 #endif
15 #include "time_nit.h"
16
17 /* out/indirect function for time::Object::get_time */
18 val_t Object_get_time___out( val_t recv );
19 #endif