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

Allow using default values for args to qgl2main #44

Open
ahelsing opened this issue Jun 17, 2019 · 1 comment
Open

Allow using default values for args to qgl2main #44

ahelsing opened this issue Jun 17, 2019 · 1 comment

Comments

@ahelsing
Copy link
Contributor

If the qgl2main has arguments that define defaults and the caller does not supply a value for all such arguments, main.py:compile_function dies with error: Invalid number of arguments supplied to qgl2main

See inline.py or pysourcegen.py for some sample code

@ahelsing
Copy link
Contributor Author

ahelsing commented Jun 17, 2019

See basic_sequences/CR.py:main() for a place that would use this fix.

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