From 8c32fa79d71942415b338763a6695bece1a8489e Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Fri, 20 Feb 2004 08:22:12 +0000 Subject: EXTERN_C wrapping for PHPAPI prototypes (Zend and main should now be ok) --- main/streams/php_stream_mmap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/streams/php_stream_mmap.h') 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: -- cgit v1.2.1