[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #158: Incorrect mapping of ncurses C string-retrieval
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures |
Date: |
Tue, 12 Jan 2010 05:34:07 -0000 |
#158: Incorrect mapping of ncurses C string-retrieval functions to Scheme
procedures
------------------------+---------------------------------------------------
Reporter: nsantos | Owner: felix
Type: defect | Status: new
Priority: major | Milestone: 4.4.0
Component: extensions | Version: 4.3.x
Keywords: ncurses |
------------------------+---------------------------------------------------
There's a bunch of ncurses functions that aren't properly mapped to
Scheme-y equivalents. All of the ones I've stumbled upon related to
retrieving input strings. To wit:
- `(getnstr STRING)`
- `(getstr STRING)`
- `(mvgetnstr INT INT STRING INT)`
- `(mvgetstr INT INT STRING)`
- `(mvwgetnstr WINDOW INT INT STRING INT)`
- `(mvwgetstr WINDOW INT INT STRING)`
- `(wgetnstr WINDOW STRING INT)`
The bug is that, as with their C counterparts, the Scheme procedures
expect a STRING argument. The C functions expect to be able to use said
argument as a pointer to the retrieved string.
The Scheme mappings should instead return the retrieved string.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/158>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures,
Chicken Trac <=
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12
- [Chicken-janitors] Re: #158: Incorrect mapping of ncurses C string-retrieval functions to Scheme procedures, Chicken Trac, 2010/01/12