Skip to content

source-flattener omitting closing brace of extern "C" {... directive #12

@mike-a-smith

Description

@mike-a-smith

The source-flattener.py script is omitting the closing brace of the extern "C" { directive. The directive then encloses any C++ source code where the flattened erfa.h is included and breaks compilation.

The end of the flattened erfa.h should look like the following:

...
void eraS2xpv(double s1, double s2, double pv[2][3], double spv[2][3]);
void eraSxp(double s, double p[3], double sp[3]);
void eraSxpv(double s, double pv[2][3], double spv[2][3]);

#ifdef __cplusplus
}
#endif

#endif

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