cvs: php4 /ext/ncurses ncurses_functions.c

From: Date: Sun, 30 Dec 2001 19:14:12 +0000
Subject: cvs: php4 /ext/ncurses ncurses_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8867@lists.php.net to get a copy of this message
georg Sun Dec 30 14:14:12 2001 EDT Modified files: /php4/ext/ncurses ncurses_functions.c Log: some prototypes changed Index: php4/ext/ncurses/ncurses_functions.c diff -u php4/ext/ncurses/ncurses_functions.c:1.15 php4/ext/ncurses/ncurses_functions.c:1.16 --- php4/ext/ncurses/ncurses_functions.c:1.15 Sat Dec 29 06:48:30 2001 +++ php4/ext/ncurses/ncurses_functions.c Sun Dec 30 14:14:12 2001 @@ -249,7 +249,7 @@ /* }}} */ /* {{{ proto bool ncurses_def_prog_mode(void) - */ + Saves terminals (program) mode */ PHP_FUNCTION(ncurses_def_prog_mode) { RETURN_LONG(def_prog_mode()); @@ -257,7 +257,7 @@ /* }}} */ /* {{{ proto bool ncurses_def_shell_mode(void) - */ + Saves terminal (shell) mode*/ PHP_FUNCTION(ncurses_def_shell_mode) { RETURN_LONG(def_shell_mode()); @@ -475,7 +475,7 @@ */ /* {{{ proto bool ncurses_slk_attr(void) - */ + returns current soft label keys attribute */ PHP_FUNCTION(ncurses_slk_attr) { RETURN_LONG(slk_attr()); @@ -483,7 +483,7 @@ /* }}} */ /* {{{ proto bool ncurses_slk_clear(void) - */ + Clears soft label keys from screen */ PHP_FUNCTION(ncurses_slk_clear) { RETURN_LONG(slk_clear()); @@ -491,7 +491,7 @@ /* }}} */ /* {{{ proto bool ncurses_slk_noutrefresh(void) - */ + Copies soft label keys to virtual screen */ PHP_FUNCTION(ncurses_slk_noutrefresh) { RETURN_LONG(slk_noutrefresh()); @@ -499,7 +499,7 @@ /* }}} */ /* {{{ proto bool ncurses_slk_refresh(void) - */ + Copies soft label keys to screen */ PHP_FUNCTION(ncurses_slk_refresh) { RETURN_LONG(slk_refresh()); @@ -507,7 +507,7 @@ /* }}} */ /* {{{ proto bool ncurses_slk_restore(void) - */ + Restores soft label keys */ PHP_FUNCTION(ncurses_slk_restore) { RETURN_LONG(slk_restore()); @@ -515,14 +515,14 @@ /* }}} */ /* {{{ proto bool ncurses_slk_touch(void) - */ + Forces output when ncurses_slk_noutrefresh is performed */ PHP_FUNCTION(ncurses_slk_touch) { RETURN_LONG(slk_touch()); } /* }}} */ -/* {{{ proto bool ncurses_slk_init(int labelnr, string label, int format) +/* {{{ proto bool ncurses_slk_set(int labelnr, string label, int format) sets function key labels */ PHP_FUNCTION(ncurses_slk_set) { @@ -768,7 +768,7 @@ PHP_FUNCTION(ncurses_slk_attrset) { long intarg; - + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l",&intarg)==FAILURE) { return; } @@ -778,7 +778,7 @@ /* }}} */ /* {{{ proto int ncurses_slk_color(int intarg) - */ + Sets color for soft label keys*/ PHP_FUNCTION(ncurses_slk_color) { #ifdef HAVE_NCURSES_SLK_COLOR @@ -797,7 +797,7 @@ /* }}} */ /* {{{ proto int ncurses_slk_init(int intarg) - */ + Inits soft label keys */ PHP_FUNCTION(ncurses_slk_init) { long intarg; @@ -1147,7 +1147,7 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lls",&y,&x,&str,&str_len)==FAILURE) { return; } - + RETURN_LONG(mvaddstr(y,x,str)); } /* }}} */

« previous php.cvs (#8867) next »