diff options
| author | Andrey Hristov <andrey@php.net> | 2005-04-10 21:23:27 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2005-04-10 21:23:27 +0000 |
| commit | 628b8cae7d52c4b4ae2604225788fe4e07a7d541 (patch) | |
| tree | eab97f73d8da9a0d8035b87ccb655545761853ee /ext/ncurses | |
| parent | ce36c5f3b119e97fc4d978529cdd6f963e008880 (diff) | |
| download | php-git-628b8cae7d52c4b4ae2604225788fe4e07a7d541.tar.gz | |
fix proto. return true instead of null
Diffstat (limited to 'ext/ncurses')
| -rw-r--r-- | ext/ncurses/ncurses_functions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/ncurses/ncurses_functions.c b/ext/ncurses/ncurses_functions.c index 7a770a009f..ffaec5ac30 100644 --- a/ext/ncurses/ncurses_functions.c +++ b/ext/ncurses/ncurses_functions.c @@ -84,7 +84,7 @@ PHP_FUNCTION(ncurses_color_set) /* }}} */ #endif -/* {{{ proto int ncurses_delwin(resource window) +/* {{{ proto bool ncurses_delwin(resource window) Deletes a ncurses window */ PHP_FUNCTION(ncurses_delwin) { @@ -98,6 +98,8 @@ PHP_FUNCTION(ncurses_delwin) FETCH_WINRES(w, &handle); zend_list_delete(Z_LVAL_P(handle)); + ZVAL_NULL(handle); + RETURN_TRUE; } /* }}} */ |
