X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-propro;a=blobdiff_plain;f=php_propro.h;fp=php_propro.h;h=79c19925975d4402ad8220ea1a569966a53672ad;hp=669529be976019cf379d8bcfc20b38f3619ac46c;hb=d705dc333abf485457263952f5d12c1e3cfa3334;hpb=515df2e7cc35639c059469f397ea9fc6e97cba14 diff --git a/php_propro.h b/php_propro.h index 669529b..79c1992 100644 --- a/php_propro.h +++ b/php_propro.h @@ -32,6 +32,11 @@ extern zend_module_entry propro_module_entry; # include #endif +#ifdef IS_UNDEF /* TODO: replace with version check */ +#define PHPNG +#define zend_object_value zend_object +#endif + #endif /** @@ -95,8 +100,10 @@ typedef struct php_property_proxy php_property_proxy_t; * ~~~~~~~~~~ */ struct php_property_proxy_object { +#ifndef PHPNG /** The std zend_object */ zend_object zo; +#endif /** The object value for easy zval creation */ zend_object_value zv; /** The actual property proxy */