lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack b


From: Dirk Ziegelmeier
Subject: Re: [lwip-devel] [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. b14032c53131c6889b2aba4f9eba98768f94e123
Date: Thu, 28 Jul 2016 12:45:35 +0200

I'll try to find a way out, maybe I can get the #if defined foo to work. Problem is then, doxygen does see the #defines from lwip.Doxygen and thus won't document everything defined there...


Ciao
Dirk

--
Dirk Ziegelmeier * address@hidden * http://www.ziegelmeier.net

On Thu, Jul 28, 2016 at 11:56 AM, Sylvain Rochet <address@hidden> wrote:
Hi Dirk,

On Thu, Jul 28, 2016 at 11:19:00AM +0200, Dirk Ziegelmeier wrote:
> Finally managed to find the matching entry in the 1000+ entries database of
> doxygen
>
> https://bugzilla.gnome.org/show_bug.cgi?id=136157
>
> -> it seems we can use #if !defined foo and doxygen will see the code
> again. Seems to be a special handling for include guards

I just saw we are using a script to generate the doxygen output, maybe
we can add the workaround in the script instead, which should give:


cp src/include/lwip/opt.h{,.copy}
sed -i -r 's/^#ifndef (.*)/#if !defined \1 || defined __DOXYGEN__/' src/include/lwip/opt.h
--> generate doxygen output here
mv src/include/lwip/opt.h{.copy,}

What do you think ?


Sylvain


reply via email to

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