X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-propro;a=blobdiff_plain;f=php_propro.h;h=4fc39c564021b9953303f869501942a1394ea332;hp=0f596b4409e23f6d8bfb9e84e13650c0b51d0244;hb=921871c048332818704008ce7b67f8f2e32d3cf4;hpb=121f5ccf85ec2d1f4d03f76393d32e25974010c2 diff --git a/php_propro.h b/php_propro.h index 0f596b4..4fc39c5 100644 --- a/php_propro.h +++ b/php_propro.h @@ -16,7 +16,7 @@ extern zend_module_entry propro_module_entry; #define phpext_propro_ptr &propro_module_entry -#define PHP_PROPRO_VERSION "1.0.2" +#define PHP_PROPRO_VERSION "2.1.0" #ifdef PHP_WIN32 # define PHP_PROPRO_API __declspec(dllexport) @@ -30,7 +30,7 @@ extern zend_module_entry propro_module_entry; # include #endif -#include "php_propro_api.h" +#define PHP_PROPRO_PTR(zo) (void*)(((char*)(zo))-(zo)->handlers->offset) #endif /* PHP_PROPRO_H */