lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7136] Centralize mempool settings in separate file


From: Jared Grubb
Subject: [lwip-devel] [task #7136] Centralize mempool settings in separate file
Date: Wed, 15 Aug 2007 15:53:52 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

Follow-up Comment #19, task #7136 (project lwip):

> I like the idea of auto-configurable and user-define additional pools, but
I don't exactly understand why this has to be in a separate file instead of
lwipopts.h! 

The issue is that the stuff in lwippools.h must be "re-include-able". For
example, memp.c has to include this file 3 separate times. It would be
possible to give a structure to lwipopts.h that would make some parts of it
re-includable, but I think that would make things more confusing.

I suggested an optional file called lwippools.h so that it at least looks
like it is the twin brother of lwipopts.h.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7136>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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