From fbda310a41299913e39385f15762924bde2f48cb Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 23 Aug 2003 15:38:58 +0000 Subject: - 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. --- Zend/zend_compile.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zend/zend_compile.h') 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); -- cgit v1.2.1