examples: add a simple leapfrog game
[nit.git] / examples / leapfrog / curses.nit.h
diff --git a/examples/leapfrog/curses.nit.h b/examples/leapfrog/curses.nit.h
new file mode 100644 (file)
index 0000000..6318fc4
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+       Extern implementation of Nit module curses
+       File initially created by nits to implement extern methods body
+*/
+
+#ifndef CURSES_NIT_H
+#define CURSES_NIT_H
+
+#include <curses._nitni.h>
+#include <curses.h>
+
+#define Window void*
+Window new_Window___impl(  );
+void Window_mvaddstr___impl( Window recv, bigint y, bigint x, String str );
+void Window_refresh___impl( Window recv );
+void Window_wclear___impl( Window recv );
+void Window_delwin___impl( Window recv );
+void Window_endwin___impl( Window recv );
+void Sys_nanosleep___impl( Sys recv, bigint sec, bigint nanosec );
+int Stdin_poll_in___impl( Stdin recv );
+#endif