On 1/9/14, 7:07 AM, Thomas Nemeth wrote: > > Hi. > > I'm documenting some structures that looks like this : > > /*! Dataset for status data. */ > typedef struct __attribute__ ((__packed__)) { > UINT16 outputs; /*!< Board outputs. */ > UINT32 inputs; /*!< Board inputs. */ > UINT16 status; /*!< Board status. */ > UINT16 errors; /*!< Internal errors (bits field). */ > } dataset_status; > > What i do for situations like this (I don't know if it is the best) is in the Doxygen config file predefine the "macro" __attribute__() to expand to nothing. This removes the attribute keyword clause, making the code look like standard C, and Doxygen can processes it.
-- Richard Damon ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users