diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-10-30 16:26:24 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-10-30 16:26:24 +0000 |
commit | 755ccbc468a8ebe99ac108d32e3dfb7fa8e0fad7 (patch) | |
tree | dd12eb88a76c517569330a80151d96a043f033a2 /include | |
parent | 0af7aec2110b74b16f44faf38016c30ca4727c50 (diff) |
Allow 'curl_*printf()' to be used in C++ programs.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/mprintf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/curl/mprintf.h b/include/curl/mprintf.h index 6ba9ea8bf..b087d9a80 100644 --- a/include/curl/mprintf.h +++ b/include/curl/mprintf.h @@ -28,6 +28,10 @@ #include "curl.h" +#ifdef __cplusplus +extern "C" { +#endif + CURL_EXTERN int curl_mprintf(const char *format, ...); CURL_EXTERN int curl_mfprintf(FILE *fd, const char *format, ...); CURL_EXTERN int curl_msprintf(char *buffer, const char *format, ...); @@ -59,4 +63,8 @@ CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args); # define vaprintf curl_mvaprintf #endif +#ifdef __cplusplus +} +#endif + #endif /* __CURL_MPRINTF_H */ |