[PATCH] proto fixes pspell
| From: | Friedhelm Betz | Date: | Sun, 02 May 2004 16:31:08 +0000 |
| Subject: | [PATCH] proto fixes pspell | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-9636@lists.php.net to get a copy of this message | ||
Hi,
attached patch fixes some protos for the pspell module
(php-src/ext/pspell/pspell.c)
Regards
Friedhelm
Index: pspell.c =================================================================== RCS file: /repository/php-src/ext/pspell/pspell.c,v retrieving revision 1.43 diff -u -u -r1.43 pspell.c --- pspell.c 13 Feb 2004 02:20:20 -0000 1.43 +++ pspell.c 2 May 2004 16:14:35 -0000 @@ -718,7 +718,7 @@ } /* }}} */ -/* {{{ proto bool pspell_config_mode(int conf, long mode) +/* {{{ proto bool pspell_config_mode(int conf, int mode) Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS) */ PHP_FUNCTION(pspell_config_mode) { @@ -848,7 +848,7 @@ /* }}} */ /* {{{ proto bool pspell_config_dict_dir(int conf, string directory) - location of the main word list */ + Location of the main word list */ PHP_FUNCTION(pspell_config_dict_dir) { pspell_config_path(INTERNAL_FUNCTION_PARAM_PASSTHRU, "dict-dir");
Index: pspell.c =================================================================== RCS file: /repository/php-src/ext/pspell/pspell.c,v retrieving revision 1.43 diff -u -u -r1.43 pspell.c --- pspell.c 13 Feb 2004 02:20:20 -0000 1.43 +++ pspell.c 2 May 2004 16:14:35 -0000 @@ -718,7 +718,7 @@ } /* }}} */ -/* {{{ proto bool pspell_config_mode(int conf, long mode) +/* {{{ proto bool pspell_config_mode(int conf, int mode) Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS) */ PHP_FUNCTION(pspell_config_mode) { @@ -848,7 +848,7 @@ /* }}} */ /* {{{ proto bool pspell_config_dict_dir(int conf, string directory) - location of the main word list */ + Location of the main word list */ PHP_FUNCTION(pspell_config_dict_dir) { pspell_config_path(INTERNAL_FUNCTION_PARAM_PASSTHRU, "dict-dir");