-
Notifications
You must be signed in to change notification settings - Fork 183
Refactor and flesh out Fn pointers #573
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
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.
This is looking good! left some notes.
Addressed the comments, so this should be ready for re-review. |
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.
This LGTM. I'm good to merge this with or without the fn(...)
syntax.
Okay this is as good as any of a PR to test out bors. @bors r+ |
Welp that didn't work |
@bors ping |
@bors r=jackh726 |
📌 Commit ab2561a has been approved by |
Refactor and flesh out Fn pointers Closes #507. This PR does a few things: - Renames `Fn` -> `FnPointer` - Adds ABI to `FnPointer` - Adds support for unsafe functions to both `FnPointer` and `FnDef` - Adds a variadic flag to both `FnPointer` and `FnDef` (cc [this comment](#507 (comment)))
@bors retry |
☀️ Test successful - checks-actions |
Closes #507.
This PR does a few things:
Fn
->FnPointer
FnPointer
FnPointer
andFnDef
FnPointer
andFnDef
(cc this comment)