c_src: update with new intern methods
[nit.git] / c_src / stream._nitni.h
1 /*
2 Extern implementation of Nit module stream
3 */
4 #ifndef STREAM_NITG_NITNI_H
5 #define STREAM_NITG_NITNI_H
6
7 #ifndef NIT_TYPE_Object
8 #define NIT_TYPE_Object 1
9 typedef struct nitni_instance *Object;
10 #endif
11 #ifndef NIT_TYPE_nullable_Int
12 #define NIT_TYPE_nullable_Int 1
13 typedef struct nitni_instance *nullable_Int;
14 #endif
15 #ifndef NIT_TYPE_Array_of_Int
16 #define NIT_TYPE_Array_of_Int 1
17 typedef struct nitni_instance *Array_of_Int;
18 #endif
19 #ifndef NIT_TYPE_nullable_Object
20 #define NIT_TYPE_nullable_Object 1
21 typedef struct nitni_instance *nullable_Object;
22 #endif
23 #include "stream._ffi.h"
24 #define Object_incr_ref(from) while(0){}
25 #define Object_decr_ref(from) while(0){}
26 #define nullable_Int_incr_ref(from) while(0){}
27 #define nullable_Int_decr_ref(from) while(0){}
28 extern nullable_Int stream___null_Int();
29 #define null_Int stream___null_Int
30 #define Array_of_Int_incr_ref(from) while(0){}
31 #define Array_of_Int_decr_ref(from) while(0){}
32 #define nullable_Object_incr_ref(from) while(0){}
33 #define nullable_Object_decr_ref(from) while(0){}
34 extern nullable_Object stream___null_Object();
35 #define null_Object stream___null_Object
36 extern int stream___Array_of_Int_length( struct nitni_instance * recv );
37 extern int stream___Array_of_Int__index( struct nitni_instance * recv, int index );
38 extern int stream___Int_is_a_nullable_Int(int);
39 #define Int_is_a_nullable_Int stream___Int_is_a_nullable_Int
40 extern struct nitni_instance * stream___Int_as_nullable_Int(int);
41 #define Int_as_nullable_Int stream___Int_as_nullable_Int
42 #define Int_as_nullable Int_as_nullable_Int
43 #endif