-
Notifications
You must be signed in to change notification settings - Fork 170
Supporting C-interop with array indices #622
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
Conversation
@certik This is ready as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine.
def get_array(size: i32) -> CPtr: | ||
pass | ||
|
||
@ccallable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is not called from C, it doesn't have to be @ccallable
I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I think I just took the example as it is from #609.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since its merged do you want ccallable
to be removed in the next PR.
Sure, if things work. Those are small changes, right now it's important for me to get these features in. |
#609