Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
Append argsString to function pointer variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeckem committed Sep 26, 2021
1 parent 12369f8 commit 7312a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Doxybook/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ Doxybook2::Node::LoadDataResult Doxybook2::Node::loadData(const Config& config,
loadData(config, plainPrinter, markdownPrinter, cache, memberdef)))
.first;

if (childPtr->kind == Kind::TYPEDEF) {
if (childPtr->kind == Kind::TYPEDEF || childPtr->kind == Kind::VARIABLE) {
it->second.type += it->second.argsString;
it->second.typePlain += it->second.argsString;
}
Expand Down Expand Up @@ -585,7 +585,7 @@ Doxybook2::Node::Data Doxybook2::Node::loadData(const Config& config,
data.typePlain = data.typePlain.substr(7);
}

if (this->kind == Kind::TYPEDEF) {
if (this->kind == Kind::TYPEDEF || this->kind == Kind::VARIABLE) {
data.type += data.argsString;
data.typePlain += data.argsString;
}
Expand Down

0 comments on commit 7312a77

Please sign in to comment.