diff options
author | Rasmus Lerdorf <rasmus@php.net> | 1999-07-12 19:18:07 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 1999-07-12 19:18:07 +0000 |
commit | 2b2b3147de889a86cd312436d5b51293ecd06aee (patch) | |
tree | cd9fccd1388f5a3b9e52607d4a6fc5ed43c5844f /ext/aspell/aspell.c | |
parent | 4dc22e32b66b21766f484fbdbd44f2469ea636d0 (diff) | |
download | php-git-2b2b3147de889a86cd312436d5b51293ecd06aee.tar.gz |
Finish porting aspell - tested and works ok now
Diffstat (limited to 'ext/aspell/aspell.c')
-rw-r--r-- | ext/aspell/aspell.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/aspell/aspell.c b/ext/aspell/aspell.c index 0ed437294c..fd37c2f431 100644 --- a/ext/aspell/aspell.c +++ b/ext/aspell/aspell.c @@ -85,7 +85,6 @@ void php3_aspell_new(INTERNAL_FUNCTION_PARAMETERS) int argc; aspell *sc; int ind; - TLS_VARS; argc = ARG_COUNT(ht); if (argc < 1 || argc > 2 || getParameters(ht, argc, &master,&personal) == FAILURE) { @@ -116,7 +115,6 @@ void php3_aspell_suggest(INTERNAL_FUNCTION_PARAMETERS) aspellSuggestions *sug; size_t i; - TLS_VARS; argc = ARG_COUNT(ht); if (argc != 2 || getParameters(ht, argc, &scin,&word) == FAILURE) { @@ -150,8 +148,8 @@ void php3_aspell_check(INTERNAL_FUNCTION_PARAMETERS) int type; pval *scin,*word; aspell *sc; + int argc; - TLS_VARS; argc = ARG_COUNT(ht); if (argc != 2 || getParameters(ht, argc, &scin,&word) == FAILURE) { WRONG_PARAM_COUNT; @@ -183,7 +181,6 @@ void php3_aspell_check_raw(INTERNAL_FUNCTION_PARAMETERS) int type; int argc; aspell *sc; - TLS_VARS; argc = ARG_COUNT(ht); if (argc != 2 || getParameters(ht, argc, &scin,&word) == FAILURE) { @@ -208,9 +205,8 @@ void php3_aspell_check_raw(INTERNAL_FUNCTION_PARAMETERS) } /* }}} */ -void php3_info_aspell(void) +void php3_info_aspell(ZEND_MODULE_INFO_FUNC_ARGS) { - TLS_VARS; php3_printf("ASpell support enabled"); } |