cvs: php4 /main php_streams.h spprintf.c spprintf.h streams.c

From: Date: Mon, 15 Apr 2002 22:22:56 +0000
Subject: cvs: php4 /main php_streams.h spprintf.c spprintf.h streams.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11151@lists.php.net to get a copy of this message
fmk Mon Apr 15 18:22:56 2002 EDT Modified files: /php4/main streams.c spprintf.h spprintf.c php_streams.h Log: Adding PHPAPI needed for exif on Win32 Index: php4/main/streams.c diff -u php4/main/streams.c:1.47 php4/main/streams.c:1.48 --- php4/main/streams.c:1.47 Wed Apr 10 18:42:29 2002 +++ php4/main/streams.c Mon Apr 15 18:22:52 2002 @@ -737,7 +737,7 @@ return fstat(fd, &ssb->sb); } -php_stream_ops php_stream_stdio_ops = { +PHPAPI php_stream_ops php_stream_stdio_ops = { php_stdiop_write, php_stdiop_read, php_stdiop_close, php_stdiop_flush, "STDIO", Index: php4/main/spprintf.h diff -u php4/main/spprintf.h:1.1 php4/main/spprintf.h:1.2 --- php4/main/spprintf.h:1.1 Tue Apr 9 21:09:22 2002 +++ php4/main/spprintf.h Mon Apr 15 18:22:53 2002 @@ -23,7 +23,7 @@ extern int spprintf( char **pbuf, size_t max_len, const char *format, ...); -extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); +PHPAPI extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); #endif /* SNPRINTF_H */ Index: php4/main/spprintf.c diff -u php4/main/spprintf.c:1.2 php4/main/spprintf.c:1.3 --- php4/main/spprintf.c:1.2 Wed Apr 10 09:02:53 2002 +++ php4/main/spprintf.c Mon Apr 15 18:22:53 2002 @@ -605,7 +605,7 @@ /* * This is the general purpose conversion function. */ -int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) +PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) { xbuffy xbuf; int cc; Index: php4/main/php_streams.h diff -u php4/main/php_streams.h:1.29 php4/main/php_streams.h:1.30 --- php4/main/php_streams.h:1.29 Fri Apr 12 14:17:19 2002 +++ php4/main/php_streams.h Mon Apr 15 18:22:53 2002 @@ -276,7 +276,7 @@ #define php_stream_error(stream) (0) /* operations for a stdio FILE; use the php_stream_fopen_XXX funcs below */ -extern php_stream_ops php_stream_stdio_ops; +PHPAPI extern php_stream_ops php_stream_stdio_ops; /* like fopen, but returns a stream */ PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path STREAMS_DC TSRMLS_DC); #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened) STREAMS_CC TSRMLS_CC)

« previous php.cvs (#11151) next »