Skip to content

Conversation

@davidcole1340
Copy link
Collaborator

Most types did not have Debug and Clone implementations, as the Zend API has many unions which cannot implement Debug. Added #[derive(Debug)] implementations where possible and added expanded impls where not possible to derive.

Added throw!() to throw and return. Translates into the following:

throw(ClassEntry::exception(), "reason");
return;

@davidcole1340 davidcole1340 merged commit 62a43e6 into master Apr 24, 2021
@davidcole1340 davidcole1340 deleted the debug_impl branch April 24, 2021 01:28
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