Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Apr 30, 2021

No description provided.

@ghost ghost added the area-System.IO label Apr 30, 2021
@ghost
Copy link

ghost commented Apr 30, 2021

Tagging subscribers to this area: @carlossanlop
See info in area-owners.md if you want to be subscribed.

Issue Details
Author: jkotas
Assignees: -
Labels:

area-System.IO

Milestone: -

private readonly FSEventStreamEventFlags _filterFlags;

// Callback delegate for the EventStream events
private readonly Interop.EventStream.FSEventStreamCallback _callback;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoids the delegate allocation and indirection.

public IntPtr RetainFunc;
public IntPtr ReleaseFunc;
public CFStringRef CopyDescriptionFunc;
public IntPtr info;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this structure to follow interop coding conventions (use the same name and casing as the Apple SDK definition).

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for adding all the comments 👍

@adamsitnik adamsitnik added this to the 6.0.0 milestone Apr 30, 2021
@jkotas jkotas merged commit 6b71dd2 into dotnet:main Apr 30, 2021
@jkotas jkotas deleted the watcher-fnptr branch May 3, 2021 13:23
@ghost ghost locked as resolved and limited conversation to collaborators Jun 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants