cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] typedef void CURL - compiler typechecking

From: Matthew Veenstra <matts_lists_at_tribalmedia.com>
Date: Mon, 19 Mar 2007 13:50:06 -0700

        My personal opinion here is that you should not worry about exposing
hints at the internal structure.
        
        I don't think we need to go out of our way to hide the structure of
the internal data. It is the users problem, if they abuse this
data. If they hack this and it breaks in the future it will be a
good lesson for them.
        
        Maybe I am being a bit extreme?

Matt
tribalmedia

On Mar 19, 2007, at 7:21 AM, Daniel Stenberg wrote:

> 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)
Received on 2007-03-19