[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #7410] Don't include internal headers in api header f

From: Simon Goldschmidt
Subject: [lwip-devel] [task #7410] Don't include internal headers in api header files
Date: Tue, 06 Nov 2007 19:46:33 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20071025 Firefox/

Follow-up Comment #3, task #7410 (project lwip):

OK, that doesn't sound too excited...

> After all, users can always include api_internal.h and directly 
> access to netconn fields

In C++, users can also #define private public before including a class header
and then freely access private fields and still people regard this as being

What I want to do is some 'information hiding' where it's not needed. I made
a second patch that forward-defines the needed internal structs (mainly the
PCB structs).

> I don't think it's good to increase code size just to separate API headers

This second patch definitvely doesn't increase code size, BTW.

(file #14332)

Additional Item Attachment:

File name: api_h_cleanup.patch            Size:5 KB


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]