diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-04 13:26:57 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-04 13:26:57 +0000 |
commit | 9baad804595a97e47baf3f75836fcc9596f2351e (patch) | |
tree | e19df22a56f05958ab5ab540c964a9f60ef95931 /Zend/zend.h | |
parent | da5464b145be141a4b9a7130d554f73e022acc85 (diff) | |
download | php-git-9baad804595a97e47baf3f75836fcc9596f2351e.tar.gz |
- Break the zend->PHP dependency introduced by the .php extension for use(),
by providing an API
- Enable Stig's patch for use() extensions (it wasn't refered to by the parser)
- Fix a memory leak in that code
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index c056a8a12e..2129970352 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -189,6 +189,8 @@ typedef struct _zend_utility_functions { typedef struct _zend_utility_values { unsigned char short_tags; unsigned char asp_tags; + char *import_use_extension; + uint import_use_extension_length; } zend_utility_values; @@ -242,13 +244,12 @@ extern ZEND_API void (*zend_block_interruptions)(void); extern ZEND_API void (*zend_unblock_interruptions)(void); extern ZEND_API void (*zend_message_dispatcher)(long message, void *data); extern ZEND_API int (*zend_get_ini_entry)(char *name, uint name_length, zval *contents); -END_EXTERN_C() - - + void zenderror(char *error); extern ZEND_API zend_class_entry zend_standard_class_def; extern zend_utility_values zend_uv; +END_EXTERN_C() #define ZEND_UV(name) (zend_uv.name) |