Skip to content

Conversation

@davidcole1340
Copy link
Collaborator

  • Replaced manual TryFrom implementations on Zval with a generic macro. Using this implemented on most types.
  • Zval::set_long, Zval::set_double and Zval::set_bool now accept any type which implements Into<T> where T is the type that the function originally took.

@davidcole1340 davidcole1340 merged commit d4c6aa2 into master Apr 18, 2021
@davidcole1340 davidcole1340 deleted the zval_traits branch May 3, 2021 23:29
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.

2 participants