Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

char Marshaller.
Avoid supporting the built-in semantics for ANSI marshalling of char.
Propagate the CharSet down to the marshallers.
Convert the MarshallingGenerators.TryCreate() to a MarshallingGenerators.Create() function throwing an exception.

/cc @jkoritzinsky @elinor-fung

Avoid supporting the built-in semantics for ANSI marshalling of char.
Propagate the CharSet down to the marshallers.
Convert the MarshallingGenerators.TryCreate() to a MarshallingGenerators.Create() function throwing an exception.
@AaronRobinsonMSFT AaronRobinsonMSFT added the area-DllImportGenerator Source Generated stubs for P/Invokes in C# label Oct 12, 2020
@AaronRobinsonMSFT AaronRobinsonMSFT merged commit be3f4e8 into dotnet:DllImportGenerator Oct 14, 2020
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the char_marshaller branch October 14, 2020 16:23
jkoritzinsky pushed a commit to jkoritzinsky/runtime that referenced this pull request Sep 20, 2021
* Support for char marshaller.

Avoid supporting the built-in semantics for ANSI marshalling of char.
Propagate the CharSet down to the marshallers.
Convert the MarshallingGenerators.TryCreate() to a MarshallingGenerators.Create() function throwing an exception.

* Add a compatibility document.

* Add testing for char marshalling.

Commit migrated from dotnet/runtimelab@be3f4e8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-DllImportGenerator Source Generated stubs for P/Invokes in C#

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants