summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-23 15:38:58 +0000
committerMarcus Boerger <helly@php.net>2003-08-23 15:38:58 +0000
commitfbda310a41299913e39385f15762924bde2f48cb (patch)
treec84d399d55e1f7bca9009bffab22de64931e8121 /Zend/zend_compile.h
parent43334207abd34dcb444fce526d11481577b356ce (diff)
downloadphp-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.h3
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);