We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While testing out the 0.5.0-preview.1 release with Pinta, I noticed that value.GetBoxed(Gdk.FileList.GetGType()) is now throwing an exception.
value.GetBoxed(Gdk.FileList.GetGType())
Adding the following code to the OpaqueTypedRecordTest reproduces the same error:
OpaqueTypedRecordTest
[TestMethod] public void SupportsWrapHandle() { var recordTester = OpaqueTypedRecordTester.New(); var wrapped = (OpaqueTypedRecordTester) GObject.Internal.BoxedWrapper.WrapHandle( handle: recordTester.Handle.DangerousGetHandle(), ownsHandle: false, gtype: OpaqueTypedRecordTester.GetGType() ); wrapped.Handle.Should().Be(recordTester.Handle); }
Error message:
System.Exception: Type GirTest.OpaqueTypedRecordTester does not define an IntPtr constructor. This could mean improperly defined bindings
It looks like the reflection is failing because opaque records no longer have the constructor signature it's looking for?
The text was updated successfully, but these errors were encountered:
Thank you for the report. This should be kept in mind for all kinds of boxed records (opaque / not opaque)
Sorry, something went wrong.
No branches or pull requests
While testing out the 0.5.0-preview.1 release with Pinta, I noticed that
value.GetBoxed(Gdk.FileList.GetGType())
is now throwing an exception.Adding the following code to the
OpaqueTypedRecordTest
reproduces the same error:Error message:
It looks like the reflection is failing because opaque records no longer have the constructor signature it's looking for?
The text was updated successfully, but these errors were encountered: