You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running jazzy version 0.14.0 with a C++ dependency already built, receiving the following error:
SourceKittenFramework/ObjCDeclarationKind.swift:81: Fatal error: Unsupported CXCursorKind: UnionDecl
Manually changing union in the offending file to struct allows documentation to generate.
Example: typedef union { double a; int b; char *c; } VALUE;
to typedef struct { double a; int b; char *c; } VALUE;
The text was updated successfully, but these errors were encountered:
There's a good chance all this needs is adding CXCursor_UnionDecl in that file and a quick testcase in ClangTranslationUnitTests -- this does look to be a missing ObjC feature though can't be that common in practice as I don't remember hearing a request for it before.
Any chance of supporting
union
similar tostruct
in ObjCDeclarationKind.swift?Running jazzy version 0.14.0 with a C++ dependency already built, receiving the following error:
SourceKittenFramework/ObjCDeclarationKind.swift:81: Fatal error: Unsupported CXCursorKind: UnionDecl
Manually changing
union
in the offending file tostruct
allows documentation to generate.Example:
typedef union { double a; int b; char *c; } VALUE;
to
typedef struct { double a; int b; char *c; } VALUE;
The text was updated successfully, but these errors were encountered: