Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Analyzer to verify api versions #1057

Open
badcel opened this issue May 7, 2024 · 0 comments
Open

Idea: Analyzer to verify api versions #1057

badcel opened this issue May 7, 2024 · 0 comments

Comments

@badcel
Copy link
Member

badcel commented May 7, 2024

Any GObject API could have an attribute since when it was introduced.

There could be an analyzer project which checks another attribute in the user code that defines per GirCore assembly which api version is allowed to be used.

If a newer api call is found a warning is raised.

This could benefit projects which depend on an older version of for example GTK and can't use newly introduced API. In this way they can use the newest GirCore version and be sure no exception is raised during runtime.

This could probably be a project independent of GirCore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant