Skip to content

[raylib_parser] Segmentation fault #4304

Closed
@chrisws

Description

@chrisws

I get Segmentation fault (core dumped) when running the command

/raylib_parser --format JSON --input ../src/raylib.h --output raylib_api.json

The problem is related to the length of the comment for the following in raylib.h

RLAPI Font LoadFontEx(const char *fileName, int fontSize, int *codepoints, int codepointCount);

If I remove the last 6 characters of the comment, the parser completes but the output JSON is a bit broken. I needed to remove further comment lines to get valid JSON output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions