Re: [問題] ncursor lib in ruby

看板Ruby作者 (godfat 真常)時間17年前 (2008/08/02 00:03), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
: → shellingtemp:這意思是說 ruby 的 curses.c 是 c ncurses 的 wrap? 08/01 23 打開看就知道了呀,可以說是也可以說不是,因為不一定要是 ncurses 以下節錄: #if defined(HAVE_NCURSES_H) # include <ncurses.h> #elif defined(HAVE_NCURSES_CURSES_H) # include <ncurses/curses.h> #elif defined(HAVE_CURSES_COLR_CURSES_H) # ifdef HAVE_STDARG_PROTOTYPES # include <stdarg.h> # else # include <varargs.h> # endif # include <curses_colr/curses.h> #else # include <curses.h> # if defined(__bsdi__) || defined(__NetBSD__) || defined(__APPLE__) # if !defined(_maxx) # define _maxx maxx # endif # if !defined(_maxy) # define _maxy maxy # endif # if !defined(_begx) # define _begx begx # endif # if !defined(_begy) # define _begy begy # endif # endif #endif -- 生死去来、棚頭傀儡、一線断時、落落磊磊 《花鏡》-世阿弥 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.28.18
文章代碼(AID): #18apEtT3 (Ruby)
文章代碼(AID): #18apEtT3 (Ruby)