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

Generator Workflow #104

Open
OmegaRogue opened this issue Apr 3, 2023 · 2 comments
Open

Generator Workflow #104

OmegaRogue opened this issue Apr 3, 2023 · 2 comments

Comments

@OmegaRogue
Copy link

How do I go about adding bindings for a library with GIR (gstreamer in my case specifically)? Is the generated code meant to be final, and fixing problems with it should be done by adjusting the generator, or is it meant to serve as a basis and be edited manually to fix Problems with it?
I haven't found any specifics on that anywhere yet

@OmegaRogue
Copy link
Author

I very much want to help out with this library, but I don't really know where to start or how to go about it

@diamondburned
Copy link
Owner

Is the generated code meant to be final, and fixing problems with it should be done by adjusting the generator, or is it meant to serve as a basis and be edited manually to fix Problems with it?

There's an API in the generator that allows modifying the GIR repositories before generation as well as adding files for after generation. There's also a filtering API to prevent certain (likely broken) APIs from being generated. https://github.com/diamondburned/gotk4-adwaita/ might be helpful.

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

2 participants