Hi,

I have a `PACKED` macro [1], that receives a struct definition [2] and
returns it with a compiler annotation to make it packed. For example:

/**
 * ...
 */
PACKED(struct A {
    /**
     * ...
     */
    int x;
});

I have tried several Doxygen options to include that documentation,
but I've had no success so far. Closest I've come up with is this:

ENABLE_PREPROCESSING = YES
PREDEFINED = PACKED(type)=type
MACRO_EXPANSION = YES

But that messes up the struct and members' documentation (confirmed
via `doxygen -d Preprocessor`).

Ideas?

[1] https://github.com/marciof/Eon/blob/master/library/util.h#L207
[2] 
https://github.com/marciof/Eon/blob/master/core/architecture/x86/multiboot/Boot_Device.h#L21

Thanks,
-- 
Márcio Faustino

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to