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

Generate import list in codegen bindings from types used #1788

Closed
jdm opened this issue Mar 1, 2014 · 0 comments
Closed

Generate import list in codegen bindings from types used #1788

jdm opened this issue Mar 1, 2014 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Mar 1, 2014

We want/need to get rid of glob imports, so we're going to have to analyze all the types used by a given interface (arguments, attributes, unions, etc.) and import them instead of using dom::bindings::codegen::*, dom::types::*, and dom::bindings::codegen::UnionTypes::*. There's existing code in Gecko's codegen (Codegen.py, or possibly the one in mozilla-central) we may be able to adapt.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.