diff options
author | Harald Radi <phanto@php.net> | 2002-06-09 14:20:37 +0000 |
---|---|---|
committer | Harald Radi <phanto@php.net> | 2002-06-09 14:20:37 +0000 |
commit | 3738a6edd0b24413db4ec988d9a40012805c5e5d (patch) | |
tree | 9e68662e2bea08df041062e30d922c7fed7b4865 /Zend/zend_object_handlers.h | |
parent | 85a99fa5a369930e25bf196af63d6227611e67f2 (diff) | |
download | php-git-3738a6edd0b24413db4ec988d9a40012805c5e5d.tar.gz |
only check for an available class entry instead of
the std_object_handlers on some places
#some linuxtag work
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r-- | Zend/zend_object_handlers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 3d721b8247..1cf015a343 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -74,5 +74,6 @@ typedef struct _zend_object_handlers { extern zend_object_handlers std_object_handlers; #define IS_ZEND_STD_OBJECT(z) ((z).type == IS_OBJECT && Z_OBJ_HT(z) == &std_object_handlers) +#define HAS_CLASS_ENTRY(z) (Z_OBJ_HT(z)->get_class_entry != NULL) #endif |