summaryrefslogtreecommitdiff
path: root/main/streams/php_stream_mmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/streams/php_stream_mmap.h')
-rw-r--r--main/streams/php_stream_mmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/streams/php_stream_mmap.h b/main/streams/php_stream_mmap.h
index 024eb7c6d2..65f294dea9 100644
--- a/main/streams/php_stream_mmap.h
+++ b/main/streams/php_stream_mmap.h
@@ -64,13 +64,14 @@ typedef struct {
* 0 otherwise */
#define php_stream_mmap_possible(stream) (!php_stream_is_filtered((stream)) && php_stream_mmap_supported((stream)))
+BEGIN_EXTERN_C()
PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len TSRMLS_DC);
#define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len) TSRMLS_CC)
/* un-maps the last mapped range */
PHPAPI int _php_stream_mmap_unmap(php_stream *stream TSRMLS_DC);
#define php_stream_mmap_unmap(stream) _php_stream_mmap_unmap((stream) TSRMLS_CC)
-
+END_EXTERN_C()
/*
* Local variables: