diff options
author | Stig Bakken <ssb@php.net> | 2000-03-06 20:37:11 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2000-03-06 20:37:11 +0000 |
commit | 99e0b36321236c1bcf9d60c1e3ed07050b55a20f (patch) | |
tree | 624ad6ac28695d278db7a783626e44177a7d3924 /ext/ereg/php_ereg.h | |
parent | 031808cd1b0f584b9c37af5fc7edecf63977da10 (diff) | |
download | php-git-99e0b36321236c1bcf9d60c1e3ed07050b55a20f.tar.gz |
@Cleaned up extension namespace (Stig)
Cleaned up extension namespace, and changed ext/standard into one single
extension.
Diffstat (limited to 'ext/ereg/php_ereg.h')
-rw-r--r-- | ext/ereg/php_ereg.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/ereg/php_ereg.h b/ext/ereg/php_ereg.h index b7f8262d2f..0ffa7438bd 100644 --- a/ext/ereg/php_ereg.h +++ b/ext/ereg/php_ereg.h @@ -33,9 +33,6 @@ #ifndef _REG_H #define _REG_H -extern zend_module_entry regexp_module_entry; -#define regexp_module_ptr ®exp_module_entry - char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended); PHP_FUNCTION(ereg); @@ -49,6 +46,10 @@ typedef struct { HashTable ht_rc; } php_reg_globals; +PHP_MINIT_FUNCTION(regex); +PHP_MSHUTDOWN_FUNCTION(regex); +PHP_MINFO_FUNCTION(regex); + #ifdef ZTS #define REGLS_D php_reg_globals *reg_globals @@ -66,6 +67,4 @@ typedef struct { #define REGLS_FETCH() #endif -#define phpext_regex_ptr regexp_module_ptr - #endif /* _REG_H */ |