Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exhale does not find functions with weird data types #184

Open
schlatterbeck opened this issue Dec 19, 2022 · 0 comments · May be fixed by #186
Open

Exhale does not find functions with weird data types #184

schlatterbeck opened this issue Dec 19, 2022 · 0 comments · May be fixed by #186

Comments

@schlatterbeck
Copy link

In the code I'm trying to document I have a C-function (plain C, no overloading of function names)

void PGAIntegerSetFixedEdges (PGAContext *ctx, size_t n, PGAInteger(*edge)[2], int symmetric)

It seems the data type PGAInteger(*edge)[2] causes that I'm getting the error:

Warning

doxygenfunction: Unable to resolve function “PGAIntegerSetFixedEdges” with arguments (PGAContext*, size_t, PGAInteger (*), int) in doxygen xml output for project “PGAPack” from directory: ./_doxygen/xml. Potential matches:

- void PGAIntegerSetFixedEdges(PGAContext *ctx, size_t n, PGAInteger (*edge)[2], int symmetric)

The Doxygen XML looks as follows:

        <type>void</type>
        <definition>void PGAIntegerSetFixedEdges</definition>
        <argsstring>(PGAContext *ctx, size_t n, PGAInteger(*edge)[2], int symmetric)</argsstring>
        <name>PGAIntegerSetFixedEdges</name>
        <param>
          <type><ref refid="structPGAContext" kindref="compound">PGAContext</ref> *</type>
          <declname>ctx</declname>
        </param>
        <param>
          <type>size_t</type>
          <declname>n</declname>
        </param>
        <param>
          <type><ref refid="group__const__datatype_1ga1b0e84726e05cb1bfece3064d78e45ae" kindref="member">PGAInteger</ref>(*)</type>
          <declname>edge</declname>
          <array>[2]</array>
        </param>
        <param>
          <type>int</type>
          <declname>symmetric</declname>
        </param>
        <briefdescription>
<para>Set edges that have to be present. </para>
        </briefdescription>

Maybe this simply fails to parse the <array[2]</array> part in the XML?

schlatterbeck added a commit to schlatterbeck/exhale that referenced this issue Dec 30, 2022
Doxygen xml has an optional 'array' in parameters,
append this to parameters on output.
Fixes svenevs#184.
@schlatterbeck schlatterbeck linked a pull request Dec 30, 2022 that will close this issue
schlatterbeck added a commit to schlatterbeck/exhale that referenced this issue Mar 29, 2023
Doxygen xml has an optional 'array' in parameters,
append this to parameters on output.
Fixes svenevs#184.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant