diff options
| author | Hartmut Holzgraefe <hholzgra@php.net> | 2004-02-20 08:22:12 +0000 |
|---|---|---|
| committer | Hartmut Holzgraefe <hholzgra@php.net> | 2004-02-20 08:22:12 +0000 |
| commit | 8c32fa79d71942415b338763a6695bece1a8489e (patch) | |
| tree | d05342c300367ac5ddbdc3275d47c0e4b13be293 /main/streams/php_stream_mmap.h | |
| parent | b8f7d9f9f5c44d2100aa9691cac1838f57cbfb40 (diff) | |
| download | php-git-8c32fa79d71942415b338763a6695bece1a8489e.tar.gz | |
EXTERN_C wrapping for PHPAPI prototypes
(Zend and main should now be ok)
Diffstat (limited to 'main/streams/php_stream_mmap.h')
| -rw-r--r-- | main/streams/php_stream_mmap.h | 3 |
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: |
