X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_propro.h;h=e980fe8dba359a828e6f6ee3e331cee9f866306f;hb=69a623b955465f6870955bef0c81af2a899e4783;hp=7d7acd440dfd3bf801d98b8537780330cdb40fba;hpb=4d686aad68d77375518ed1255abe61d5208d7f8a;p=m6w6%2Fext-propro diff --git a/php_propro.h b/php_propro.h index 7d7acd4..e980fe8 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.1" +#define PHP_PROPRO_VERSION "2.0.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 */