|
| From: | Markus Elfring |
| Subject: | [lwip-devel] [bug #35875] #define ⇒ enum? |
| Date: | Sat, 17 Mar 2012 14:52:44 +0000 |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0 |
URL:
<http://savannah.nongnu.org/bugs/?35875>
Summary: #define ⇒ enum?
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: elfring
Submitted on: Sa 17 Mär 2012 15:52:43 CET
Category: None
Severity: 3 - Normal
Item Group: Feature Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: 1.4.0
_______________________________________________________
Details:
Would you like to replace any more defines for constant values by enumerations
<http://en.wikipedia.org/wiki/Enumerated_type#C_and_syntactically_similar_languages>
to stress their relationships?
* NETCONN_...
<http://git.savannah.gnu.org/cgit/lwip.git/tree/src/include/lwip/api.h?id=a2aa43a426bb01f926f7935299c19fe00030ab4e#n55>
* IP6_NEXTH_...
<http://git.savannah.gnu.org/cgit/lwip.git/tree/src/include/ipv6/lwip/ip6.h?id=ccd7dbe0e4aa698cb96f85a88dab149066420bb3#n62>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?35875>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |