add get_gc and get_debug_info handlers
[m6w6/ext-propro] / php_propro.h
index fb8ce023394bc6998955c38b23e09fe0ea6cd144..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.1.0RC1"
+#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 */