X Tutup
Skip to content

Struct default constructor#65

Merged
tonyroberts merged 2 commits intopythonnet:developfrom
medicomp:struct-default-constructor
Feb 2, 2015
Merged

Struct default constructor#65
tonyroberts merged 2 commits intopythonnet:developfrom
medicomp:struct-default-constructor

Conversation

@lstratman
Copy link
Copy Markdown
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

X Tutup