summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2010-05-31 10:29:43 +0000
committerMichael Wallner <mike@php.net>2010-05-31 10:29:43 +0000
commit11d24c1593d6617f73d3f290617bd8994182f4dc (patch)
treeeddeffa97ad3893b731144afb003e26ef0952de9 /main/php.h
parent27299b7e4084adb236acfbfb25168d72306ee802 (diff)
downloadphp-git-11d24c1593d6617f73d3f290617bd8994182f4dc.tar.gz
* implement new output API, fixing some bugs and implementing some feature
requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/main/php.h b/main/php.h
index ccb0012d4f..af5c910621 100644
--- a/main/php.h
+++ b/main/php.h
@@ -384,20 +384,7 @@ END_EXTERN_C()
/* Output support */
#include "main/php_output.h"
-#define PHPWRITE(str, str_len) php_body_write((str), (str_len) TSRMLS_CC)
-#define PUTS(str) do { \
- const char *__str = (str); \
- php_body_write(__str, strlen(__str) TSRMLS_CC); \
-} while (0)
-
-#define PUTC(c) (php_body_write(&(c), 1 TSRMLS_CC), (c))
-#define PHPWRITE_H(str, str_len) php_header_write((str), (str_len) TSRMLS_CC)
-#define PUTS_H(str) do { \
- const char *__str = (str); \
- php_header_write(__str, strlen(__str) TSRMLS_CC); \
-} while (0)
-
-#define PUTC_H(c) (php_header_write(&(c), 1 TSRMLS_CC), (c))
+
#include "php_streams.h"
#include "php_memory_streams.h"