Skip to content

Commit a751018

Browse files
committed
issue doxygen#11824 [Question] Is it possible to exclude certain structs from inlining with INLINE_SIMPLE_STRUCTS = YES?
1 parent 9dcd2b1 commit a751018

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/classdef.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,8 +1153,11 @@ void ClassDefImpl::internalInsertMember(MemberDef *md,
11531153
addMemberToList(MemberListType::PacAttribs(),md,TRUE);
11541154
break;
11551155
case Protection::Public:
1156-
addMemberToList(MemberListType::PubAttribs(),md,TRUE);
1157-
isSimple=TRUE;
1156+
{
1157+
addMemberToList(MemberListType::PubAttribs(),md,TRUE);
1158+
const int MAX_CELL_SIZE=60;
1159+
isSimple=md->typeString().length()+md->name().length()+md->argsString().length()<=MAX_CELL_SIZE;
1160+
}
11581161
break;
11591162
case Protection::Private:
11601163
addMemberToList(MemberListType::PriAttribs(),md,TRUE);

0 commit comments

Comments
 (0)