cvs: php4 /main spprintf.c spprintf.h

From: Date: Mon, 12 Aug 2002 09:07:26 +0000
Subject: cvs: php4 /main spprintf.c spprintf.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13273@lists.php.net to get a copy of this message
edink Mon Aug 12 05:07:26 2002 EDT Modified files: /php4/main spprintf.c spprintf.h Log: Export spprintf() so that extension can link properly on win32. Index: php4/main/spprintf.c diff -u php4/main/spprintf.c:1.8 php4/main/spprintf.c:1.9 --- php4/main/spprintf.c:1.8 Wed Jun 26 17:03:28 2002 +++ php4/main/spprintf.c Mon Aug 12 05:07:26 2002 @@ -633,7 +633,7 @@ } -int spprintf(char **pbuf, size_t max_len, const char *format, ...) +PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...) { int cc; va_list ap; Index: php4/main/spprintf.h diff -u php4/main/spprintf.h:1.4 php4/main/spprintf.h:1.5 --- php4/main/spprintf.h:1.4 Sun Jun 23 18:12:22 2002 +++ php4/main/spprintf.h Mon Aug 12 05:07:26 2002 @@ -35,7 +35,7 @@ #include "snprintf.h" BEGIN_EXTERN_C() -extern int spprintf( char **pbuf, size_t max_len, const char *format, ...); +PHPAPI extern int spprintf( char **pbuf, size_t max_len, const char *format, ...); PHPAPI extern int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); END_EXTERN_C()

« previous php.cvs (#13273) next »