X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-propro;a=blobdiff_plain;f=php_propro.h;h=4fc39c564021b9953303f869501942a1394ea332;hp=92d1eeb848899f0146d39cd2fc3a8b4f19215c25;hb=921871c048332818704008ce7b67f8f2e32d3cf4;hpb=5870bdd05282a41112f72abeb7d81cc9ab012c47 diff --git a/php_propro.h b/php_propro.h index 92d1eeb..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.2RC1" +#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 */