Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 #define ⇒ enum?

open
Timo Teras
None
5
2013-01-08
2012-04-27
Markus Elfring
No

Would you like to replace more defines for constant values by enumerations to stress their relationships?
http://opennhrp.git.sourceforge.net/git/gitweb.cgi?p=opennhrp/opennhrp;a=tree;f=nhrp;h=d83651987bd8639b22d92cd86d7d78dfdf03e3c7;hb=HEAD
* NHRP_INTERFACE_FLAG_...
* NHRP_PACKET_...

Discussion

  • Timo Teras
    Timo Teras
    2013-01-08

    • assigned_to: nobody --> fabled80
     
  • Timo Teras
    Timo Teras
    2013-01-08

    Sounds reasonable. Will take a look at it at some point. Patches are welcome.