diff options
| author | Marcus Boerger <helly@php.net> | 2003-08-23 15:38:58 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-08-23 15:38:58 +0000 |
| commit | fbda310a41299913e39385f15762924bde2f48cb (patch) | |
| tree | c84d399d55e1f7bca9009bffab22de64931e8121 /Zend/zend_compile.h | |
| parent | 43334207abd34dcb444fce526d11481577b356ce (diff) | |
| download | php-git-fbda310a41299913e39385f15762924bde2f48cb.tar.gz | |
- Flag ctor/dtor methods
- Use this to prevent memleaks when an exception gets thrown in ctors.
# I added the dtor flags for consistency, atm a compareable check in
# isn't necessary for destruction. But anyway i'll use this for the
# Relection API too.
Diffstat (limited to 'Zend/zend_compile.h')
| -rw-r--r-- | Zend/zend_compile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 9cb30999fa..21014202a5 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -110,6 +110,9 @@ typedef struct _zend_brk_cont_element { #define ZEND_ACC_CHANGED 0x800 #define ZEND_ACC_IMPLICIT_PUBLIC 0x1000 +#define ZEND_ACC_CTOR 0x2000 +#define ZEND_ACC_DTOR 0x4000 + char *zend_visibility_string(zend_uint fn_flags); |
