cvs: php-src(PHP_4_3) /main snprintf.h

From: Date: Thu, 31 Mar 2005 07:40:30 +0000
Subject: cvs: php-src(PHP_4_3) /main snprintf.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31166@lists.php.net to get a copy of this message
sniper Thu Mar 31 02:40:30 2005 EDT Modified files: (Branch: PHP_4_3) /php-src/main snprintf.h Log: MFH: c++ fix http://cvs.php.net/diff.php/php-src/main/snprintf.h?r1=1.18.4.5&r2=1.18.4.6&ty=u Index: php-src/main/snprintf.h diff -u php-src/main/snprintf.h:1.18.4.5 php-src/main/snprintf.h:1.18.4.6 --- php-src/main/snprintf.h:1.18.4.5 Mon Nov 15 18:27:26 2004 +++ php-src/main/snprintf.h Thu Mar 31 02:40:30 2005 @@ -62,19 +62,22 @@ #ifndef SNPRINTF_H #define SNPRINTF_H +BEGIN_EXTERN_C() PHPAPI int ap_php_snprintf(char *, size_t, const char *, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4); +PHPAPI int ap_php_vsnprintf(char *, size_t, const char *, va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); +PHPAPI int php_sprintf (char* s, const char* format, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3); +END_EXTERN_C() + #ifdef snprintf #undef snprintf #endif #define snprintf ap_php_snprintf -PHPAPI int ap_php_vsnprintf(char *, size_t, const char *, va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); #ifdef vsnprintf #undef vsnprintf #endif #define vsnprintf ap_php_vsnprintf -PHPAPI int php_sprintf (char* s, const char* format, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3); #ifdef sprintf #undef sprintf #endif

« previous php.cvs (#31166) next »