[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ncurses.init_pair no longer seems to exist in the 'ncurses' package.

Kenneth McDonald

9/26/2008 3:12:00 PM

Just wondering if this is true, or if something has gone wrong with my
installation.

Thanks,
Ken

1 Answer

Nit Khair

9/27/2008 3:19:00 AM

0

Kenneth McDonald wrote:
> Just wondering if this is true, or if something has gone wrong with my
> installation.
>
> Thanks,
> Ken

Works fine on mine. Check ncurses_wrap.c.

/opt/local/lib/ruby/gems/1.8/gems/ncurses-0.9.1

ncurses_wrap.c:static VALUE rbncurs_init_pair(VALUE dummy, VALUE arg1,
VALUE arg2, VALUE arg3) {
ncurses_wrap.c: return INT2NUM(init_pair(NUM2INT(arg1),
NUM2INT(arg2), NUM2INT(arg3)));
ncurses_wrap.c: NCFUNC(init_pair, 3);

--
Posted via http://www.ruby-....