Skip to content

Change declaration of Analyzer::configure and Analyzer::end_of_log #36

@hamishwillee

Description

@hamishwillee

The declaration of these two functions causes Sphinx to chuck out the following error. As a result the functions are documented, but can't be linked to.

default: /vagrant/docs/reference/analyser_reference.rst:7: WARNING: Error when parsing function declaration:
default: If no return type {
default: Invalid definition: Expected identifier in nested name, got keyword: bool [error at 4]
default:   bool Analyzer::configure(INIReader *config UNUSED)
default:   ----^
default: } else if return type {
default: Invalid definition: Expecting "," or ")" in parameters_and_qualifiers, got "U". [error at 43]
default:   bool Analyzer::configure(INIReader *config UNUSED)
default:   -------------------------------------------^
default: }
default: /vagrant/docs/reference/analyser_reference.rst:7: WARNING: Error when parsing function declaration:
default: If no return type {
default: Invalid definition: Expected identifier in nested name, got keyword: void [error at 4]
default:   void Analyzer::end_of_log(uint32_t packet_count UNUSED)
default:   ----^
default: } else if return type {
default: Invalid definition: Expecting "," or ")" in parameters_and_qualifiers, got "U". [error at 48]
default:   void Analyzer::end_of_log(uint32_t packet_count UNUSED)
default:   ------------------------------------------------^
default: }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions