lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5448] include '#ifdef __cplusplus extern "C" {' in


From: Frédéric Bernon
Subject: [lwip-devel] [patch #5448] include '#ifdef __cplusplus extern "C" {' in all header files
Date: Thu, 22 Mar 2007 13:31:34 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #7, patch #5448 (project lwip):

Why not a single lwip_cpluscplus.h file like this ? 

#ifdef __cplusplus
extern "C" {
#endif 

#include "lwip/sockets.h"
#include "lwip/raw.h"
#include "lwip/udp.h"
#include "lwip/tcp.h"

//... and all others files

#ifdef __cplusplus
}
#endif 

Because, if you use raw api, I suppose you already have to include lwIP
specific headers, and not only the "generic" sockets.h. Using a such file is
not a solution?




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5448>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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