chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1435: getstr function in ncurses egg


From: Chicken Trac
Subject: [Chicken-janitors] #1435: getstr function in ncurses egg
Date: Sun, 31 Dec 2017 00:34:33 -0000

#1435: getstr function in ncurses egg
-------------------------------+--------------------------------
 Reporter:  andrea             |                 Owner:
     Type:  defect             |                Status:  new
 Priority:  not urgent at all  |             Milestone:  someday
Component:  extensions         |               Version:  4.13.0
 Keywords:  ncurses            |  Estimated difficulty:  easy
-------------------------------+--------------------------------
 Hi,
 I'm not expert about Chicken Scheme and easyffi, so I tried to read the
 source of the ncurses egg but I did not come up with it.
 I'm using Chicken 4.13 and the last version of the egg (i.e. 1.6)
 installed with "chicken-install ncurses".
 The problem is this:

 {{{
 (require-extension ncurses)

 (let ((stdscr (initscr)) (str (make-string 10)))
   (getstr str)
   (addstr str)
   (getch))
 }}}

 The error is this:
 {{{
 Error: bad argument type - not a pointer: "          "
 }}}

 It has been a similar problem: https://bugs.call-cc.org/ticket/158#no2
 but it says that it has been solved now (but I still obtain an error,
 different from the one mentioned).

--
Ticket URL: <https://bugs.call-cc.org/ticket/1435>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]