nit: add intern Int::rand
[nit.git] / c_src / stream_nit.h
index 0832d93..f28d3b8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * This file is free software, which comes along with NIT.  This software is
  * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without  even  the implied warranty of  MERCHANTABILITY or  FITNESS FOR A
+ * without  even  the implied warranty of  MERCHANTABILITY or  FITNESS FOR A 
  * PARTICULAR PURPOSE.  You can modify it is you want,  provided this header
  * is kept unaltered, and a notification of the changes is added.
  * You  are  allowed  to  redistribute it and sell it, alone or is a part of
 
 #include <unistd.h>
 
+#include <stream._nitni.h>
+
 #define stream_FDStream_FDStream_native_close_1(self, p0) (close(p0))
 
-int stream_FDStream_FDStream_native_read_char_1(int s, int fd);
-void stream_FDStream_FDStream_write_char_1(int s, int fd, int c);
+int stream_FDStream_FDStream_native_read_char_1(FDStream s, int fd);
+void stream_FDStream_FDStream_write_char_1(FDStream s, int fd, int c);
 #define stream_FDStream_FDStream_native_read_3(s, i, b, l) read((i), ((b)), ((l)))
 #define stream_FDStream_FDStream_native_write_3(s, i, b, l) write((i), ((b)), ((l)))
 
+nullable_Int Object_intern_poll___impl( Object recv, Array in_fds, Array out_fds );
+
 #endif