forked from dgrunwald/rust-cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make fields of initialization config public and implement Default
The structs added in dgrunwald#211 did not have public fields. The fields need to be public in order to allow modifying them. Furthermore, instantiating new instances of these structs would be cumbersome (even with public fields) because there are so many fields. So, we implement Default to construct new instances that are zero initialized.
- Loading branch information
Showing
1 changed file
with
97 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters