diff options
author | Andrey Hristov <andrey@php.net> | 1999-07-27 19:44:46 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 1999-07-27 19:44:46 +0000 |
commit | 07d691174b38a5bc05aa6c1fc0ff4d135e8d1356 (patch) | |
tree | 1d9930e938977ec797058956d2691854a822b52a /ext/gettext/gettext.c | |
parent | bb8046c4a9a81b5d6d9568d1fb53e9114b1e4f68 (diff) | |
download | php-git-07d691174b38a5bc05aa6c1fc0ff4d135e8d1356.tar.gz |
Symbol work.
Diffstat (limited to 'ext/gettext/gettext.c')
-rw-r--r-- | ext/gettext/gettext.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c index fd0b5f5e13..5aff1e32be 100644 --- a/ext/gettext/gettext.c +++ b/ext/gettext/gettext.c @@ -27,20 +27,20 @@ #include <libintl.h> function_entry php3_gettext_functions[] = { - {"textdomain", php3_textdomain, NULL}, - {"gettext", php3_gettext, NULL}, - {"_", php3_gettext, NULL}, - {"dgettext", php3_dgettext, NULL}, - {"dcgettext", php3_dcgettext, NULL}, - {"bindtextdomain", php3_bindtextdomain, NULL}, + PHP_FE(textdomain, NULL) + PHP_FE(gettext, NULL) + PHP_FALIAS(_, gettext, NULL) + PHP_FE(dgettext, NULL) + PHP_FE(dcgettext, NULL) + PHP_FE(bindtextdomain, NULL) {NULL, NULL, NULL} }; php3_module_entry php3_gettext_module_entry = { - "gettext", php3_gettext_functions, NULL, NULL, NULL, NULL, php3_info_gettext, STANDARD_MODULE_PROPERTIES + "gettext", php3_gettext_functions, NULL, NULL, NULL, NULL, PHP_MINFO(gettext), STANDARD_MODULE_PROPERTIES }; -void php3_info_gettext(ZEND_MODULE_INFO_FUNC_ARGS) +PHP_MINFO_FUNCTION(gettext) { php3_printf("GNU gettext support active."); } |