forked from xamarin/xamarin-macios
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[.NET/AudioToolbox] Make AudioServicesAddSystemSoundCompletion take a…
…n unmanaged function pointer instead of delegate. Very partial fix for xamarin#10470. In .NET 6 we can use the [UnmanagedCallersOnly] attribute to mark functions that are called from native code (instead of the [MonoPInvokeCallback] attribute). It turns out this is a rather major refactoring (in particular for blocks), so start by doing it for just a single function, to make sure using [UnmanagedCallersOnly] at least works somewhere. Ref: xamarin#10470
- Loading branch information
1 parent
44f570e
commit d335df0
Showing
1 changed file
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters