c_src: update with new intern methods
[nit.git] / c_src / posix._nitni.h
diff --git a/c_src/posix._nitni.h b/c_src/posix._nitni.h
new file mode 100644 (file)
index 0000000..1f373c9
--- /dev/null
@@ -0,0 +1,90 @@
+/*
+       Extern implementation of Nit module posix
+*/
+#ifndef POSIX_NITG_NITNI_H
+#define POSIX_NITG_NITNI_H
+
+#ifndef NIT_TYPE_Sys
+#define NIT_TYPE_Sys 1
+typedef struct nitni_instance *Sys;
+#endif
+#ifndef NIT_TYPE_Sys
+#define NIT_TYPE_Sys 1
+typedef struct nitni_instance *Sys;
+#endif
+#ifndef NIT_TYPE_Sys
+#define NIT_TYPE_Sys 1
+typedef struct nitni_instance *Sys;
+#endif
+#ifndef NIT_TYPE_Sys
+#define NIT_TYPE_Sys 1
+typedef struct nitni_instance *Sys;
+#endif
+#ifndef NIT_TYPE_Sys
+#define NIT_TYPE_Sys 1
+typedef struct nitni_instance *Sys;
+#endif
+#ifndef NIT_TYPE_Sys
+#define NIT_TYPE_Sys 1
+typedef struct nitni_instance *Sys;
+#endif
+#ifndef NIT_TYPE_Sys
+#define NIT_TYPE_Sys 1
+typedef struct nitni_instance *Sys;
+#endif
+#ifndef NIT_TYPE_Sys
+#define NIT_TYPE_Sys 1
+typedef struct nitni_instance *Sys;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#ifndef NIT_TYPE_Array_of_String
+#define NIT_TYPE_Array_of_String 1
+typedef struct nitni_instance *Array_of_String;
+#endif
+#ifndef NIT_TYPE_String
+#define NIT_TYPE_String 1
+typedef struct nitni_instance *String;
+#endif
+#include "posix._ffi.h"
+#define Sys_incr_ref(from) while(0){}
+#define Sys_decr_ref(from) while(0){}
+#define String_incr_ref(from) while(0){}
+#define String_decr_ref(from) while(0){}
+extern char* posix___String_to_cstring( struct nitni_instance * recv );
+extern struct nitni_instance * posix___NativeString_to_s( char* recv );
+#define Array_of_String_incr_ref(from) while(0){}
+#define Array_of_String_decr_ref(from) while(0){}
+extern struct nitni_instance * posix___new_Array_of_String(  );
+extern void posix___Array_of_String_add( struct nitni_instance * recv, struct nitni_instance * item );
+#endif