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

add support fro tuples in nif macro #520

Conversation

denumerate
Copy link

This commit adds support for tuples in a nif function by expanding the nif macro to decode tuple types with the Decode trait.

ISSUE: #519

This commit adds support for tuples in a nif function by expanding the
nif macro to decode tuple types with the `Decode` trait.
@jerzywilczek
Copy link

Is anybody still working on this? I kinda need this feature.

Copy link
Member

@philss philss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can merge and I can add the tests afterwards (had that prepared already).

philss added a commit that referenced this pull request Mar 28, 2023
* Add support for tuples in nif macro

This commit adds support for tuples in a nif function by expanding the
nif macro to decode tuple types with the `Decode` trait.

This was originally written by @denumerate in #520

* Add tests covering decode of tuples in nif macro

---------

Co-authored-by: Paul Ricks <paul.ricks@beyondidentity.com>
@philss
Copy link
Member

philss commented Mar 28, 2023

@denumerate thank you for the PR! I added your commit in another one - #527.

@jerzywilczek I don't know yet when a new version is going to be release, but you can point to the master branch.

Closing now.

@philss philss closed this Mar 28, 2023
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.

3 participants