Skip to content

Conversation

@jkoritzinsky
Copy link
Member

Convert the last two remaining libraries to use GeneratedDllImport based on our current support.

This means that any P/Invokes that don't use HandleRef, layout classes, non-blittable structs, or non-blittable types defined in other assemblies have been converted.

For HandleRef support, we're looking at adding the support through our standard "custom type marshalling" design that we will use for non-blittable structs and layout classes, but that still requires that support to be available/used, which depends at least partially on API Review.

…to use GeneratedDllImport

Convert the last two remaining libraries to use GeneratedDllImport based on our current support.

This means that any P/Invokes that don't use HandleRef, layout classes, non-blittable structs, or non-blittable types defined in other assemblies have been converted.

For HandleRef support, we're looking at adding the support through our standard "custom type marshalling" design that we will use for non-blittable structs and layout classes, but that still requires that support to be available/used.
… entrypoint name isn't decorated with an A/W suffix
@jkoritzinsky jkoritzinsky merged commit 2cbc071 into dotnet:main Dec 7, 2021
@jkoritzinsky jkoritzinsky deleted the gendllimport-s.ds.p branch December 7, 2021 05:09
@ghost ghost locked as resolved and limited conversation to collaborators Jan 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants