Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Add [NullAllowed] to afterItem on AVQueuePlayer's CanInsert/InsertItem #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/avfoundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4292,10 +4292,10 @@ interface AVQueuePlayer {
void AdvanceToNextItem ();

[Export ("canInsertItem:afterItem:")]
bool CanInsert (AVPlayerItem item, AVPlayerItem afterItem);
bool CanInsert (AVPlayerItem item, [NullAllowed] AVPlayerItem afterItem);

[Export ("insertItem:afterItem:")]
void InsertItem (AVPlayerItem item, AVPlayerItem afterItem);
void InsertItem (AVPlayerItem item, [NullAllowed] AVPlayerItem afterItem);

[Export ("removeItem:")]
void RemoveItem (AVPlayerItem item);
Expand Down