Skip to content

Commit c99454e

Browse files
committed
main: add a new macro clearRole
Signed-off-by: Masatake YAMATO <[email protected]>
1 parent 6ed7bf8 commit c99454e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/entry.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ extern void initForeignRefTagEntry (tagEntryInfo *const e, const char *const nam
155155
langType type,
156156
int kindIndex, int roleIndex);
157157
extern void assignRole(tagEntryInfo *const e, int roleIndex);
158+
#define clearRoles(E) assignRole((E), ROLE_DEFINITION_INDEX)
158159
extern bool isRoleAssigned(const tagEntryInfo *const e, int roleIndex);
159160

160161
extern int makeQualifiedTagEntry (const tagEntryInfo *const e);

0 commit comments

Comments
 (0)