-
Notifications
You must be signed in to change notification settings - Fork 456
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
glad2: allow custom symbol prefix (instead of glad/Glad/GLAD) #198
Comments
I think this is pretty useful but for the exact reason of not cluttering the templates even more (it's already pretty bad) I don't think this is how we should do it. Since I was/am pretty careful with the prefixes, I think simply having a postprocessing step that replaces all An entry point for such a feature could be here: post_generate, similar to _add_additional_headers (edit files instead of adding more). If you want to prepare a PR for this, I am happy to review and merge it. |
It would be great if adding a custom symbol prefix was made available in glad directly, and via the web interface. For the time being I am using this script:
|
Thanks for sharing! The main reason it isn't in glad is simply it makes the already horrible templating code even worse. |
Two reasons for this change:
One reason against:
GLAD
/Glad
/glad
prefix vars):If you think it's worthwhile, I'll prepare a PR.
The text was updated successfully, but these errors were encountered: