PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/oocurses.ooc

http://github.com/tsion/oocurses
Unknown | 16 lines | 10 code | 6 blank | 0 comment | 0 complexity | 20e5e42a4c73c00cf663219cc723f3a9 MD5 | raw file
 1use oocurses
 2
 3NCurses: cover {
 4    stdscr: extern static Window
 5
 6    init: extern(initscr) static func -> Window
 7    end: extern(endwin) static func -> Int
 8
 9    print: extern(printw) static func (CString, ...) -> Int
10
11    getChar: extern(getch) static func -> Int
12
13    refresh: extern(refresh) static func -> Int
14}
15
16Window: cover from WINDOW*