monkey0506 / native-generic-delegates

Generic C# delegates for P/Invoke.
Other
8 stars 0 forks source link

Check marshaller in open generic interceptors #36

Closed monkey0506 closed 1 month ago

monkey0506 commented 1 month ago

Fixes #34.

Simply checking the generic type argument TMarshaller is actually sufficient here, because the only value that can be specified without the generic type argument is the CallingConvention. Handling the calling convention at runtime is already a supported scenario.