summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-04-11 18:07:25 +0800
committerXinchen Hui <laruence@gmail.com>2014-04-11 18:07:25 +0800
commit180de35bce168ff0fd6521b3fd377b56701c5dc6 (patch)
tree8c76c194cb01e10585a6ad5d9d1f5c22480db97f /main/php_streams.h
parent0d341e5b0ea3251b0ebb05d2020b1f78e9985502 (diff)
downloadphp-git-180de35bce168ff0fd6521b3fd377b56701c5dc6.tar.gz
Refactor libxml (incompleted)
Diffstat (limited to 'main/php_streams.h')
-rw-r--r--main/php_streams.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 7e9b6a6c26..a0550a2356 100644
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -255,8 +255,8 @@ END_EXTERN_C()
# define php_stream_to_zval(stream, zval) { ZVAL_RES(zval, (stream)->res); }
#endif
-#define php_stream_from_zval(xstr, ppzval) ZEND_FETCH_RESOURCE2((xstr), php_stream *, (ppzval), -1, "stream", php_file_le_stream(), php_file_le_pstream())
-#define php_stream_from_zval_no_verify(xstr, ppzval) (xstr) = (php_stream*)zend_fetch_resource((ppzval) TSRMLS_CC, -1, "stream", NULL, 2, php_file_le_stream(), php_file_le_pstream())
+#define php_stream_from_zval(xstr, pzval) ZEND_FETCH_RESOURCE2((xstr), php_stream *, (pzval), -1, "stream", php_file_le_stream(), php_file_le_pstream())
+#define php_stream_from_zval_no_verify(xstr, pzval) (xstr) = (php_stream*)zend_fetch_resource((pzval) TSRMLS_CC, -1, "stream", NULL, 2, php_file_le_stream(), php_file_le_pstream())
BEGIN_EXTERN_C()
PHPAPI php_stream *php_stream_encloses(php_stream *enclosing, php_stream *enclosed);