add get_gc and get_debug_info handlers
[m6w6/ext-propro] / php_propro.h
index 92d1eeb848899f0146d39cd2fc3a8b4f19215c25..78f5b81de120cf9863aefbf46bac3f6d4e221eee 100644 (file)
@@ -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.0.1"
 
 #ifdef PHP_WIN32
 #      define PHP_PROPRO_API __declspec(dllexport)
@@ -30,7 +30,7 @@ extern zend_module_entry propro_module_entry;
 #      include <TSRM/TSRM.h>
 #endif
 
-#include "php_propro_api.h"
+#define PHP_PROPRO_PTR(zo) (void*)(((char*)(zo))-(zo)->handlers->offset)
 
 #endif /* PHP_PROPRO_H */