[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #14398] Convert netconn 'apiflags' to an enum
From: |
Joel Cunningham |
Subject: |
[lwip-devel] [task #14398] Convert netconn 'apiflags' to an enum |
Date: |
Mon, 6 Mar 2017 17:53:48 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8 |
Follow-up Comment #2, task #14398 (project lwip):
I think you'd have to use a cast to assign a multiple flags value since it is
not an enumerated value from the perspective of the type system.
Once using the casts, aren't we losing one of the large advantages of the
enumerated type, i.e. the type checking and safety?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?14398>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/