summaryrefslogtreecommitdiff
path: root/main/php_memory_streams.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-18 11:18:07 +0000
committerWez Furlong <wez@php.net>2002-03-18 11:18:07 +0000
commitdd9a3c94a82780ac384abb0efb7ebd3dd7f2b03a (patch)
tree64aeb958f49f055daaa377e94ed813dadf5f9fb4 /main/php_memory_streams.h
parent1222d808608d8a72a678a24e989273b148e02210 (diff)
downloadphp-git-dd9a3c94a82780ac384abb0efb7ebd3dd7f2b03a.tar.gz
tidyup use of STREAMS_DC macros
Diffstat (limited to 'main/php_memory_streams.h')
-rw-r--r--main/php_memory_streams.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/php_memory_streams.h b/main/php_memory_streams.h
index 35ca81b543..64c7c7249d 100644
--- a/main/php_memory_streams.h
+++ b/main/php_memory_streams.h
@@ -21,12 +21,14 @@
#include "php_streams.h"
-#define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_REL_CC);
-#define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) STREAMS_REL_CC);
-#define php_stream_memory_get_buffer(stream, length) _php_stream_memory_get_buffer((stream), (length) STREAMS_REL_CC);
-
-#define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_REL_CC);
-#define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (max_memory_usage), (buf), (length) STREAMS_REL_CC);
+#define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_CC)
+#define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC)
+#define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) STREAMS_CC)
+#define php_stream_memory_get_buffer(stream, length) _php_stream_memory_get_buffer((stream), (length) STREAMS_CC)
+
+#define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_CC)
+#define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_usage) STREAMS_REL_CC)
+#define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (max_memory_usage), (buf), (length) STREAMS_CC)
PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC);