lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] a question about alignment


From: jack W
Subject: [lwip-users] a question about alignment
Date: Wed, 3 Nov 2004 15:42:41 +0800

 hi everyone 


 i am reading the lwip source codes , i happend a question about structure 
alignments .

 in the codes it says : there are four macros #PACK_STRUCT_BEGIN 
#PACK_STRUCT_FIELD
#PACK_STRUCT_STRUCT and #PACK_STRUCT_END  

if i define a structure named  xyz   following :

#PACK_STRUCT_BEGIN
   struct xyz{
    int xxx

}
#PACK_STRUCT_END

IF i should write the "#PACK_STRUCT_FIELD" in the front of variable "int xxx" 
or not ?








reply via email to

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