Merge: doc: fixed some typos and other misc. corrections
[nit.git] / c_src / core__file._nitni.h
1 /*
2 Extern implementation of Nit module file
3 */
4 #ifndef CORE__FILE_NITG_NITNI_H
5 #define CORE__FILE_NITG_NITNI_H
6
7 #ifndef NIT_TYPE_Sys
8 #define NIT_TYPE_Sys 1
9 typedef struct nitni_instance *Sys;
10 #endif
11 #ifndef NIT_TYPE_Sys
12 #define NIT_TYPE_Sys 1
13 typedef struct nitni_instance *Sys;
14 #endif
15 #ifndef NIT_TYPE_Sys
16 #define NIT_TYPE_Sys 1
17 typedef struct nitni_instance *Sys;
18 #endif
19 #ifndef NIT_TYPE_Sys
20 #define NIT_TYPE_Sys 1
21 typedef struct nitni_instance *Sys;
22 #endif
23 #include "core__file._ffi.h"
24 #include <stdint.h>
25 extern void nitni_global_ref_incr(void*);
26 extern void nitni_global_ref_decr(void*);
27 #ifndef Sys_incr_ref
28 #define Sys_incr_ref(from) nitni_global_ref_incr((Sys)(from))
29 #endif
30 #ifndef Sys_decr_ref
31 #define Sys_decr_ref(from) nitni_global_ref_decr((Sys)(from))
32 #endif
33 #ifndef Sys_incr_ref
34 #define Sys_incr_ref(from) nitni_global_ref_incr((Sys)(from))
35 #endif
36 #ifndef Sys_decr_ref
37 #define Sys_decr_ref(from) nitni_global_ref_decr((Sys)(from))
38 #endif
39 #ifndef Sys_incr_ref
40 #define Sys_incr_ref(from) nitni_global_ref_incr((Sys)(from))
41 #endif
42 #ifndef Sys_decr_ref
43 #define Sys_decr_ref(from) nitni_global_ref_decr((Sys)(from))
44 #endif
45 #ifndef Sys_incr_ref
46 #define Sys_incr_ref(from) nitni_global_ref_incr((Sys)(from))
47 #endif
48 #ifndef Sys_decr_ref
49 #define Sys_decr_ref(from) nitni_global_ref_decr((Sys)(from))
50 #endif
51 #endif