- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only

works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html ,
  http://curl.haxx.se/mail/lib-2008-02/0292.html )
This commit is contained in:
Michal Marek
2008-03-11 07:37:40 +00:00
parent 458925ae0b
commit 7a8a20416f
7 changed files with 503 additions and 1 deletions

View File

@@ -348,6 +348,7 @@ CURL *curl_easy_init(void)
* easy handle.
*/
#undef curl_easy_setopt
CURLcode curl_easy_setopt(CURL *curl, CURLoption tag, ...)
{
va_list arg;