]> granicus.if.org Git - php/commitdiff
- Macro for duality between Engine 1 and 2
authorAndi Gutmans <andi@php.net>
Tue, 12 Mar 2002 19:36:24 +0000 (19:36 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 12 Mar 2002 19:36:24 +0000 (19:36 +0000)
Zend/zend.h

index 3cb1eb58f4a41bc7f5ffc6bfbd41c21cff0aca75..4dd94c4f3ae53f57a08697d63319c7a1b5a19eac 100644 (file)
@@ -428,6 +428,8 @@ ZEND_API void zend_error(int type, const char *format, ...);
 
 void zenderror(char *error);
 
+/* The following #define is used for code duality in PHP for Engine 1 & 2
+#define ZEND_STANDARD_CLASS_DEF_PTR zend_standard_class_def
 extern ZEND_API zend_class_entry *zend_standard_class_def;
 extern zend_utility_values zend_uv;
 extern ZEND_API zval zval_used_for_init;