1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef PHP_GETTEXT_H
- #define PHP_GETTEXT_H
- #if HAVE_LIBINTL
- extern zend_module_entry php_gettext_module_entry;
- #define gettext_module_ptr &php_gettext_module_entry
- #include "php_version.h"
- #define PHP_GETTEXT_VERSION PHP_VERSION
- PHP_MINFO_FUNCTION(php_gettext);
- PHP_NAMED_FUNCTION(zif_textdomain);
- PHP_NAMED_FUNCTION(zif_gettext);
- PHP_NAMED_FUNCTION(zif_dgettext);
- PHP_NAMED_FUNCTION(zif_dcgettext);
- PHP_NAMED_FUNCTION(zif_bindtextdomain);
- #if HAVE_NGETTEXT
- PHP_NAMED_FUNCTION(zif_ngettext);
- #endif
- #if HAVE_DNGETTEXT
- PHP_NAMED_FUNCTION(zif_dngettext);
- #endif
- #if HAVE_DCNGETTEXT
- PHP_NAMED_FUNCTION(zif_dcngettext);
- #endif
- #if HAVE_BIND_TEXTDOMAIN_CODESET
- PHP_NAMED_FUNCTION(zif_bind_textdomain_codeset);
- #endif
- #else
- #define gettext_module_ptr NULL
- #endif
- #define phpext_gettext_ptr gettext_module_ptr
- #endif
|