Hello, I have a question about doxygen to retrieve the information from C source code.
Is it possible to identify an attribute like read-only, write-only, read-write for a global variable when it is referenced or updated in a function by doxygen? For example, /* 4 sides of the AOT databases parameters in the voting structure compare to each others, * and the following 6 varieties indicate each compare results of each compare group. */ static UINT32 zero_oneConst; static UINT32 one_twoConst; static void aot2Outof3 (void* bufAdrs_0, void* bufAdrs_1, void* bufAdrs_2, ULONG cmpSize, VOTE_MINOR_TYPE *pVoteMinor ) { zero_oneConst = memcmp(bufAdrs_0, bufAdrs_1, cmpSize); one_twoConst = memcmp(bufAdrs_1, bufAdrs_2, cmpSize); if((zero_oneConst == 0U) && (one_twoConst == 0U) ) { *pVoteMinor = NO_MINOR; } .... } static void aot3Outof4 (void* bufAdrs_0, void* bufAdrs_1, ) { two_threeConst = memcmp(bufAdrs_2, bufAdrs_3, cmpSize); if((zero_oneConst == 0U) && (one_twoConst == 0U) && (two_threeConst == 0U) ) { *pVoteMinor = NO_MINOR; } ... } How can we identify global variable zero_oneConst and one_twoConst are read_write in function aot2Outof3() but they are read-only in function aot3Outof4()? Thanks, Jian Weng
_______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users