2 Extern implementation of Nit module curses
3 File initially created by nits to customize type of extern classes
6 #include "curses.nit.h"
9 C implementation of curses::Window::init
11 Window
new_Window___impl( )
16 fprintf(stderr
, "Error initialising ncurses.\n");
25 C implementation of curses::Window::mvaddstr
27 Imported methods signatures:
28 char * String_to_cstring( String recv ) for string::String::to_cstring
30 void Window_mvaddstr___impl( Window recv
, bigint y
, bigint x
, String str
)
32 char *c_string
= String_to_cstring( str
);
33 mvaddstr(y
, x
, c_string
);
37 C implementation of curses::Window::refresh
39 void Window_refresh___impl( Window recv
)
45 C implementation of curses::Window::wclear
47 void Window_wclear___impl( Window recv
) {
52 C implementation of curses::Window::delwin
54 void Window_delwin___impl( Window recv
)
60 C implementation of curses::Window::endwin
62 void Window_endwin___impl( Window recv
)