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

Module variable #63

Merged
merged 3 commits into from
Aug 22, 2024
Merged

Module variable #63

merged 3 commits into from
Aug 22, 2024

Conversation

termoshtt
Copy link
Collaborator

@termoshtt termoshtt commented Aug 22, 2024

Annotation in Rust side:

module_variable!("pure", "MY_CONSTANT", usize);

will creates module variable in pure.pyi

MY_CONSTANT: int

@termoshtt termoshtt self-assigned this Aug 22, 2024
@termoshtt termoshtt marked this pull request as ready for review August 22, 2024 08:58
@termoshtt termoshtt merged commit 4721c02 into main Aug 22, 2024
12 checks passed
@termoshtt termoshtt deleted the variable-info branch August 22, 2024 08:58
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