cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] typedef void CURL - compiler typechecking

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Mar 2007 15:21:31 +0100 (CET)

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

>> I our project we already had the cases, where people made soft-links,
>> copied, etc to get access to internal structures.
>
> Thats awefull. But where does the patch encourage such behaviour?

Only by referring to the actual internal struct name.

We could of course make dummy struct types that we could make the typedefs
use, just to not "give away" the internal struct names... (not saying I'm for
or against the idea, just throwing it out)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-19