summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2003-07-19 19:23:34 +0000
committerAndrey Hristov <andrey@php.net>2003-07-19 19:23:34 +0000
commit5fcc682ebc5968fa4cbdf04ce143f801cd059fdd (patch)
tree831ed1cfbaa474ed388e6c646629e9288d34d65b /ext/readline
parent71990112b77fe911ce743892758f5aef932eef84 (diff)
downloadphp-git-5fcc682ebc5968fa4cbdf04ce143f801cd059fdd.tar.gz
proto fixes
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 2fecea5644..d15e9614d5 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -222,7 +222,7 @@ PHP_FUNCTION(readline_info)
}
/* }}} */
-/* {{{ proto void readline_add_history([string prompt])
+/* {{{ proto bool readline_add_history([string prompt])
Adds a line to the history */
PHP_FUNCTION(readline_add_history)
{
@@ -240,7 +240,7 @@ PHP_FUNCTION(readline_add_history)
}
/* }}} */
-/* {{{ proto void readline_clear_history(void)
+/* {{{ proto bool readline_clear_history(void)
Clears the history */
PHP_FUNCTION(readline_clear_history)
{
@@ -281,7 +281,7 @@ PHP_FUNCTION(readline_list_history)
}
#endif
/* }}} */
-/* {{{ proto int readline_read_history([string filename] [, int from] [,int to])
+/* {{{ proto bool readline_read_history([string filename] [, int from] [,int to])
Reads the history */
PHP_FUNCTION(readline_read_history)
{
@@ -308,7 +308,7 @@ PHP_FUNCTION(readline_read_history)
}
/* }}} */
-/* {{{ proto int readline_write_history([string filename])
+/* {{{ proto bool readline_write_history([string filename])
Writes the history */
PHP_FUNCTION(readline_write_history)
{
@@ -333,7 +333,7 @@ PHP_FUNCTION(readline_write_history)
}
/* }}} */
-/* {{{ proto void readline_completion_function(string funcname)
+/* {{{ proto bool readline_completion_function(string funcname)
Readline completion function? */
static char *_readline_command_generator(char *text,int state)