Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Fix libvlc_event_detach delegate return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mfkl authored and jeremyVignelles committed Nov 22, 2018
1 parent d3f1a77 commit fcb247b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ namespace Vlc.DotNet.Core.Interops.Signatures
/// <param name="eventType">The desired event to which we want to listen.</param>
/// <param name="callback">The function to call when i_event_type occurs.</param>
/// <param name="userData">User provided data to carry with the event.</param>
/// <returns>Return 0 on success, ENOMEM on error.</returns>
[LibVlcFunction("libvlc_event_detach")]
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate int DetachEvent(IntPtr eventManagerInstance, EventTypes eventType, EventCallback callback, IntPtr userData);
}
public delegate void DetachEvent(IntPtr eventManagerInstance, EventTypes eventType, EventCallback callback, IntPtr userData);
}

0 comments on commit fcb247b

Please sign in to comment.