[patch #9700] move err_t typedef after the defintion of err_enum_t

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch #9700] move err_t typedef after the defintion of err_enum_t

Simon Goldschmidt
URL:
  <https://savannah.nongnu.org/patch/?9700>

                 Summary: move err_t typedef after the defintion of err_enum_t

                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: ghostav
            Submitted on: Wed 10 Oct 2018 10:50:30 PM UTC
                Category: None
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

I work on an c++ project and want to use lwIP for it. As I am not memory
constraint and on an 32bit architecture I would like to use the err_enum_t
enum directly as err_t value. Eventually, I could use this to depend on an
actual lwIP error to be given as argument to a function due to the stronger
type checking in C++ where an int is not automatically converted to an enum.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 10 Oct 2018 10:50:30 PM UTC  Name:
0001-err.h-move-typedef-of-err_t-after-enum-definition.patch  Size: 1KiB   By:
ghostav

<http://savannah.nongnu.org/patch/download.php?file_id=45180>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9700>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[patch #9700] move err_t typedef after the defintion of err_enum_t

Simon Goldschmidt
Update of patch #9700 (project lwip):

                  Status:                    None => Done                  
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

Applied, thanks!

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9700>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel