Skip to content

Struct default constructor #65

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

Merged
merged 2 commits into from
Feb 2, 2015
Merged

Struct default constructor #65

merged 2 commits into from
Feb 2, 2015

Conversation

lstratman
Copy link
Contributor

I updated the ConstructorBinder to support the creation of struct instances by calling the struct's default constructor which allows users to create instances of structs with no explicit constructors defined.

…instance (via Activator.CreateInstance()) instead of having to be forced to implement an explicit constructor on the struct.
tonyroberts added a commit that referenced this pull request Feb 2, 2015
@tonyroberts tonyroberts merged commit 80fcbc4 into pythonnet:develop Feb 2, 2015
twastvedt added a commit to autodesk-forks/pythonnet that referenced this pull request Mar 17, 2025
* Cache class definitions

* Add vs code testing settings.

* Old style class definition test

* Fix old style test
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