lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] "HIDE the declaration of PBUF STRUCT in pbuf.h"


From: goldsimon
Subject: Re: [lwip-users] "HIDE the declaration of PBUF STRUCT in pbuf.h"
Date: Wed, 01 Nov 2017 15:09:45 +0100
User-agent: K-9 Mail for Android


antonio wrote:
>I *moved* the declaration of *struct pbuf from pbuf.h to pbuf.c*.

That won't work as in many places the struct needs to be known. Including 
sizeof() and other direct instantiations (not via pbuf_alloc). We started a 
scheme for private header files to solve this.

Simon



reply via email to

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