undefining a struct

Newbie Member
9Mar2008,21:34   #1
yossi123's Avatar
Hi,

I wanted to know if it is possible to undefine a struct.
I want to merge to codes, the old one has a struct that it uses,
but the new code is based on a modified version of this struct.

I wondered if I can undefine the "old" struct and then to re-define
the new struct.


Thanks.
TechCake
12Mar2008,10:37   #2
asadullah.ansari's Avatar
in .h file write
#define struct Mystruct

and in .c or Cpp file write

#undef struct