From ce38ec2b2531daa9eea05988fbf564f5285e6b71 Mon Sep 17 00:00:00 2001 From: John Coggeshall Date: Sun, 14 Sep 2003 00:45:51 +0000 Subject: Moved things around and added some #ifdefs so that the extension can be used in PHP 4 (without the ZE2 tree parsing). --- ext/tidy/php_tidy.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/tidy/php_tidy.h') diff --git a/ext/tidy/php_tidy.h b/ext/tidy/php_tidy.h index 9c2980bcf9..9ba85f4c86 100644 --- a/ext/tidy/php_tidy.h +++ b/ext/tidy/php_tidy.h @@ -113,6 +113,8 @@ PHP_FUNCTION(tidy_load_config_enc); PHP_FUNCTION(tidy_set_encoding); PHP_FUNCTION(tidy_save_config); +#ifdef ZEND_ENGINE_2 + PHP_FUNCTION(tidy_get_root); PHP_FUNCTION(tidy_get_html); PHP_FUNCTION(tidy_get_head); @@ -155,6 +157,8 @@ zend_bool _php_tidy_attr_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS) zend_bool _php_tidy_node_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS); void _php_tidy_init_prop_hashtables(); +#endif + /* resource dtor */ void dtor_TidyDoc(zend_rsrc_list_entry * TSRMLS_DC); -- cgit v1.2.1