Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: typedef void CURL - compiler typechecking

From: Daniel Stenberg <>
Date: Mon, 19 Mar 2007 10:12:52 +0100 (CET)

On Mon, 19 Mar 2007, Gerrit Bruchhäuser wrote:

> The "typedef void CURL" in 'curl/curl.h' (and other void typedefs) disable
> compiletime typechecking. Please let me suggest to replace it with:
> typedef struct Curl_multi* CURL;

That would be completely wrong.

Even if I could agree to the type being something other than a mere 'void *'
would be useful, it really isn't a struct Curl_multi.

I take it you mean CURLM to be this type? I please, provide a full patch for
us to consider!

  Commercial curl and libcurl Technical Support:
Received on 2007-03-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET