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

Improvements to gl_generator API #385

Merged
merged 17 commits into from
Nov 29, 2015
Merged

Improvements to gl_generator API #385

merged 17 commits into from
Nov 29, 2015

Conversation

brendanzab
Copy link
Owner

Working towards #338

Part of this work is going towards having a simpler external API, and a simpler, more maintainable internal implementation. I'm also trying to update the docs as I go - there is lots of obsolete stuff there, related to when we used expose a syntax extension pre-1.0.

@brendanzab brendanzab changed the title Rename Ns to Api Rename Ns to Api and remove source argument from generate_bindings Nov 29, 2015
@brendanzab brendanzab changed the title Rename Ns to Api and remove source argument from generate_bindings General API improvements to gl_generator Nov 29, 2015
@brendanzab brendanzab changed the title General API improvements to gl_generator Improvements to gl_generator API Nov 29, 2015
@brendanzab brendanzab force-pushed the rename-ns branch 2 times, most recently from b0bd9de to 668dabb Compare November 29, 2015 16:02
This is some code that is related to binding generation
that is hanging around in the registry module. Better to
move it into the generators module.
As discussed in #338, this means that users no longer need
to depend on khronos_api.
Improved type safety, and more self-documenting!
These types now implement Read and Write, so the
extra BufReaders and BufWriter structs are not
required. Not sure if this makes any difference to
performance.
The 'Builder' suffix doesn't make sense here - it
is normally used for denoting stucts that provide
Builder APIs. 'Parser' seems more appropriate here.
This is only used internally, and does not need to be exposed
brendanzab added a commit that referenced this pull request Nov 29, 2015
Improvements to gl_generator API
@brendanzab brendanzab merged commit 1dac7e9 into master Nov 29, 2015
@brendanzab brendanzab deleted the rename-ns branch November 29, 2015 20:17
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

Successfully merging this pull request may close these issues.

1 participant