Skip to content

Remove hardcoded types #8

@Laar

Description

@Laar

The types used as function arguments are defined in Spec/Parsing.hs. This hardcoded translation is far to brittle as it will break when opengl-api defines a new (and used) type or one of the untranslated types is used again. Furthermore such a translation is an unnecessary restriction on the output.

So this translation should be moved to its own configuration file, which could be very simple. Further additions could include detection of undefined types and creating a default translation file.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions